Skip to content

Commit

Permalink
ci: upd tests
Browse files Browse the repository at this point in the history
  • Loading branch information
damikael committed Apr 11, 2022
1 parent 4c2200b commit 299bbbf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/OIDC/RP/RevocationRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public function __construct(array $config)
* @param string $token token to be revoked
* @throws Exception
* @return object response returned from revocation
* @codeCoverageIgnore
*/
public function send(string $revocation_endpoint, string $token)
{
Expand Down
3 changes: 3 additions & 0 deletions tests/EntityStatementTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ public function test_makeFromConfig()
$config = $config['rp_proxy_clients']['default'];
$metadata = EntityStatement::makeFromConfig($config);
$this->assertNotEmpty($metadata, "EntityStatement cannot be empty");

$es = new EntityStatement("eyJ0eXAiOiJlbnRpdHktc3RhdGVtZW50K2p3dCIsImFsZyI6IlJTMjU2Iiwia2lkIjoiNmE3ZmNjZmQ0ZjY3ZDY1ZjdjOTBlOTAyZWU1OWJhYTljZjUyYTA2NzU2YWEzYzgyYzQyOTVhZWQ1ZTM2YmU4NSJ9.eyJpc3MiOiJodHRwczpcL1wvZGV2LmxpbmZhYm94Lml0XC9vaWRjXC8iLCJzdWIiOiJodHRwczpcL1wvZGV2LmxpbmZhYm94Lml0XC9vaWRjXC8iLCJpYXQiOjE2NDk2NzY3ODQsImV4cCI6MTY4MTIxMjc4NCwiandrcyI6eyJrZXlzIjpbeyJraWQiOiI2YTdmY2NmZDRmNjdkNjVmN2M5MGU5MDJlZTU5YmFhOWNmNTJhMDY3NTZhYTNjODJjNDI5NWFlZDVlMzZiZTg1Iiwia3R5IjoiUlNBIiwibiI6IjFtMjJSWHdac2gzVWNVaVhxLXotVFpSWTdTY240a1JMalR3eFgwbWsyQkZ3Zi1uRGVxVktfam9aYXhPSlJqSWo5R1dMalVGb0JldnpvS2RadzNGWnlVWEZjanhfZHJLZk5sbH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kJPXC9xUHlkblZzY1BCM2NwQWhjUXlPYktwUjl6b0JyMUtoRG9Ub0lXdkl0ZFN0dm9NRTV5ZDJob2plVzhJZz09IiwieDV0IjoiVndoNl9fWFM3TmpkajVQX3FhckZ3VVE3Rk1ZIiwieDV0IzI1NiI6InB4QVVqVXk5ZUFHOVh0UUR0RFF2TjU5SU84a0lIUllfT1A0UWNvc0dKTUUiLCJ1c2UiOiJzaWcifV19LCJyZWRpcmVjdF91cmlzIjpbImh0dHBzOlwvXC9kZXYubGluZmFib3guaXRcL29pZGNcL1wvb2lkY1wvcmVkaXJlY3QiXSwicmVzcG9uc2VfdHlwZXMiOlsiY29kZSJdLCJzdWJqZWN0X3R5cGUiOiJwYWlyd2lzZSJ9fX0.jjek4zIEbW5JgCBmX5tQ2RKM1kRpyMd6BaIdrPVGnWVk-aCfm5izkAp8gN5anXDK5xBczbYTWscwpzo0I1Lc1xz8aolRe_bH_Qf0Z9nY1bbM9jlk85qTz98QYa-kIxhOX2h13IFtxC8_PBJALv7CGc5XnYvyYbUYaVzyKDL9WtH0br2h5OeZw_Zn1sFNgPi6c_vMh1gNIV-9brkjOVwFReY95KRZG36EaMH5rse-lP877fGIHprNq-nSqcnU3eiItd7wxqEEwS9pCGT6B4hzqC_6wB1HU0ZHS-j6JP_0Nq2aB2sHb3HZp8HV9XU18aovZFIs7sM3mEFlOlaDFa_bSbJmxES9wDBxfNNFB2d8GoyWAhpwvkRjp6Y3ngAwTr_-rmHqAorbzep37O4PDYTbd1TnXNgHN7QanCJGB9y03rKIEfFI3m-26g4-IeUm8-__vwF3aL05KzsCmzv0W27u0m9cK04-bti1bwJ_ShQMwMHSrjihZDUUroswlVsmdsUO", "http://iss");
$this->assertNotNull($es);
}

/**
Expand Down

0 comments on commit 299bbbf

Please sign in to comment.