mirror of
https://github.com/elyby/accounts.git
synced 2024-11-14 09:16:22 +05:30
20 lines
399 B
PHP
20 lines
399 B
PHP
<?php
|
|
namespace api\tests\functional;
|
|
|
|
use api\tests\_pages\AuthenticationRoute;
|
|
use api\tests\FunctionalTester;
|
|
|
|
class LogoutCest {
|
|
|
|
public function testLoginEmailOrUsername(FunctionalTester $I) {
|
|
$route = new AuthenticationRoute($I);
|
|
|
|
$I->amAuthenticated();
|
|
$route->logout();
|
|
$I->canSeeResponseContainsJson([
|
|
'success' => true,
|
|
]);
|
|
}
|
|
|
|
}
|