mirror of
https://github.com/elyby/accounts.git
synced 2024-12-29 00:20: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,
|
|
]);
|
|
}
|
|
|
|
}
|