test: Remove workaround for authn library

This is no longer necessary since dependencies have been updated
This commit is contained in:
Joachim Van Herwegen 2024-01-15 13:41:54 +01:00
parent e09b53b20d
commit 7d57359613

View File

@ -104,10 +104,7 @@ export class IdentityTestState {
const url = await this.handleLocationRedirect(res);
expect(url.startsWith(this.redirectUrl)).toBe(true);
// Workaround for https://github.com/inrupt/solid-client-authn-js/issues/2985
const strippedUrl = new URL(url);
strippedUrl.searchParams.delete('iss');
const info = await this.session.handleIncomingRedirect(strippedUrl.href);
const info = await this.session.handleIncomingRedirect(url);
expect(info?.isLoggedIn).toBe(true);
expect(info?.webId).toBe(webId);
}