mirror of
https://github.com/elyby/accounts.git
synced 2024-12-27 23:50:19 +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,
|
|
]);
|
|
}
|
|
|
|
}
|