Skip to content
Snippets Groups Projects
Commit d2bd3dfa authored by Tim van Dijen's avatar Tim van Dijen
Browse files

Fix rebase

parent 6585f449
No related branches found
No related tags found
No related merge requests found
......@@ -452,7 +452,7 @@ class Login
/**
* Log the user out of a given authentication source.
*
* @param Request $request The request that lead to this logout operation.
* @param \Symfony\Component\HttpFoundation\Request $request
* @param string $as The name of the auth source.
*
* @return \SimpleSAML\HTTP\RunnableResponse A runnable response which will actually perform logout.
......
......@@ -4,6 +4,7 @@ declare(strict_types=1);
namespace SimpleSAML\Test\Module\core\Controller;
use Exception;
use ReflectionClass;
use SimpleSAML\Auth;
use SimpleSAML\Configuration;
......@@ -81,6 +82,8 @@ class LoginTest extends ClearStateTestCase
'GET',
[],
);
$c = new Controller\Login($this->config);
$response = $c->logout($request, 'example-authsource');
$this->assertInstanceOf(RunnableResponse::class, $response);
......@@ -275,5 +278,4 @@ class LoginTest extends ClearStateTestCase
$this->assertEquals('core:loginuserpass.twig', $response->getTemplateName());
}
*/
>>>>>>> 051532a60 (Add some unit tests)
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment