
[smarcet] - #5033 - Client Administration Change-Id: If87a611f5f25646480478d7799339a6d5186a37f
19 lines
636 B
PHP
19 lines
636 B
PHP
<?php
|
|
|
|
class OpenIdProviderControllerTest extends TestCase
|
|
{
|
|
|
|
public function testOpenIdRequest()
|
|
{
|
|
$params = array(
|
|
"openid.ns" => "http://specs.openid.net/auth/2.0",
|
|
"openid.claimed_id" => "http://specs.openid.net/auth/2.0/identifier_select",
|
|
"openid.identity" => "http://specs.openid.net/auth/2.0/identifier_select",
|
|
"openid.return_to" => "http://www.test.com",
|
|
"openid.realm" => "http://www.test.com/",
|
|
"openid.mode" => "checkid_setup"
|
|
);
|
|
|
|
$response = $this->action("POST", "OpenIdProviderController@endpoint", $params);
|
|
}
|
|
} |