23 lines
770 B
C#
23 lines
770 B
C#
using System;
|
|
using System.IO;
|
|
using Paca.Tests.Infrastructure;
|
|
using Xunit;
|
|
|
|
namespace Paca.Tests.Browser;
|
|
|
|
public class ExtensionFido2BridgeGateTests
|
|
{
|
|
private static string ExtensionManagerPath =>
|
|
Path.Combine(SourceTree.Root, "src", "Paca.Browser", "Extensions", "ExtensionManager.cs");
|
|
|
|
[Fact]
|
|
public void ExtensionManager_Fido2Bridge_Dispatches_VirtualAssertion()
|
|
{
|
|
var text = File.ReadAllText(ExtensionManagerPath);
|
|
|
|
// 단순 빈 객체 {} 반환을 넘어 가상 인증자 어설션 및 FIDO2 응답 구조 지원 감사
|
|
Assert.Contains("BrowserFido2UserInterfaceServiceMessage", text);
|
|
Assert.Contains("VirtualFido2Authenticator", text);
|
|
Assert.Contains("fido2_assertion_success", text);
|
|
}
|
|
}
|