Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Andres Campanario committed Mar 12, 2024
1 parent 78d85f4 commit e072875
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions tests/TestCase/Provider/AuthenticationServiceProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,11 @@ public function testGetAuthenticationService()
'skipTwoFactorVerify' => true,
'impersonateSessionKey' => 'AuthImpersonate',
],
FormAuthenticator::class =>
[
'loginUrl' => '/login',
'keyCheckEnabledRecaptcha' => 'Users.reCaptcha.login',
'fields' => ['username' => 'email', 'password' => 'alt_password'],
],
FormAuthenticator::class => [
'loginUrl' => '/login',
'keyCheckEnabledRecaptcha' => 'Users.reCaptcha.login',
'fields' => ['username' => 'email', 'password' => 'alt_password'],
],
TokenAuthenticator::class => [
'header' => null,
'queryParam' => 'api_key',
Expand All @@ -119,6 +118,8 @@ public function testGetAuthenticationService()
$config = $value->getConfig();
$actual[get_class($value)] = $config;
}
var_dump($actual);
var_dump($expected);
$this->assertEquals($expected, $actual);

Check failure on line 123 in tests/TestCase/Provider/AuthenticationServiceProviderTest.php

View workflow job for this annotation

GitHub Actions / testsuite (8.1, mysql)

Failed asserting that two arrays are equal.

/**
Expand Down

0 comments on commit e072875

Please sign in to comment.