Fix authenticatedPeer fixture

This commit is contained in:
Sebastian Martinez
2023-12-21 12:47:23 +00:00
committed by Rūdolfs Ošiņš
parent 5141f3e340
commit a9eefd1645
+1 -3
View File
@@ -162,9 +162,7 @@ export const test = base.extend<{
"--listen",
`${peer.httpdBaseUrl.hostname}:${peer.httpdBaseUrl.port}`,
]);
const match = stdout.match(
/Open the following URL to connect: (http:\/\/\S+)/,
);
const match = stdout.match(/Visit (http:\/\/\S+) to connect/);
assert(
match !== null && match[1],
`Failed to get authentication URL from: ${stdout}`,