We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a534832 commit 7e38edeCopy full SHA for 7e38ede
tests/integration/Test.php
@@ -65,12 +65,11 @@ private function cleanupUser(string $userId): void {
65
66
67
public function testAlternativeLogins() {
68
- self::assertEquals([
69
- [
70
- 'name' => 'Login with nextcloudci',
71
- 'href' => '/index.php/apps/user_oidc/login/1'
72
- ]
73
- ], OC_App::getAlternativeLogIns());
+ $alternativeLogins = OC_App::getAlternativeLogIns();
+ self::assertCount(1, $alternativeLogins);
+ $alternativeLogin = $alternativeLogins[0];
+ self::assertEquals('Login with nextcloudci', $alternativeLogin['name']);
+ self::assertEquals('/index.php/apps/user_oidc/login/1', $alternativeLogin['href']);
74
}
75
76
public function testLoginRedirect() {
0 commit comments