Skip to content

Commit

Permalink
Rename behat tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MishNajam committed Oct 30, 2023
1 parent dfc9b32 commit 4c42e69
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,8 @@
use App\Service\Authentication\JWKFactory;
use App\Service\Cache\CacheFactory;
use App\Service\Authentication\IssuerBuilder;
use Facile\OpenIDClient\Issuer\IssuerBuilderInterface;
use Facile\OpenIDClient\Issuer\IssuerInterface;
use Facile\OpenIDClient\Issuer\Metadata\IssuerMetadataInterface;
use Facile\OpenIDClient\Issuer\Metadata\Provider\MetadataProviderBuilder;
use Interop\Container\Containerinterface;
use Jose\Component\Core\JWK;
use PHPUnit\Framework\TestCase;
use Prophecy\Argument;
Expand Down
2 changes: 1 addition & 1 deletion service-front/app/config/routes.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@
$app->get('/activate-account/{token}', Actor\Handler\ActivateAccountHandler::class, 'activate-account');

// User auth
$app->route('/login',Actor\Handler\LoginPageHandler::class, ['GET', 'POST'], 'login');
$app->route('/login', Actor\Handler\LoginPageHandler::class, ['GET', 'POST'], 'login');
$app->get('/session-expired', Actor\Handler\ActorSessionExpiredHandler::class, 'session-expired');
$app->get('/session-check', Actor\Handler\ActorSessionCheckHandler::class, 'session-check');
$app->get('/session-refresh', Common\Handler\SessionRefreshHandler::class, 'session-refresh');
Expand Down
6 changes: 3 additions & 3 deletions service-front/app/features/one-login.feature
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
@onelogin
Feature: Authorise One Login
Feature: Authenticate One Login

@ui @actor @ff:allow_gov_one_login:true
Scenario: I initiate authorise via one login
Scenario: I initiate authentication via one login
Given I am on the temporary one login page
When I click the one login button
Then I am redirected to the redirect page
Then I am redirected to the redirect page
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class OneLoginServiceTest extends TestCase
use ProphecyTrait;

/** @test */
public function can_get_authorisation_request_uri(): void
public function can_get_authentication_request_uri(): void
{
$state = 'STATE';
$nonce = 'aEwkamaos5B';
Expand Down

0 comments on commit 4c42e69

Please sign in to comment.