Skip to content

Commit

Permalink
missing attr adding
Browse files Browse the repository at this point in the history
  • Loading branch information
dawlib committed May 25, 2021
1 parent 3202f95 commit f4c2f4d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/CastleTest.php
Expand Up @@ -30,6 +30,7 @@ public function testFilter()
{
Castle_RequestTransport::setResponse(204, '');
Castle::filter(Array(
'request_token' => '7e51335b-f4bc-4bc7-875d-b713fb61eb23-bf021a3022a1a302',
'name' => '$registration',
'user' => Array('id' => 'abc', 'email' => 'user@foobar.io')
));
Expand All @@ -40,6 +41,7 @@ public function testLog()
{
Castle_RequestTransport::setResponse(204, '');
Castle::log(Array(
'request_token' => '7e51335b-f4bc-4bc7-875d-b713fb61eb23-bf021a3022a1a302',
'name' => '$login',
'status' => '$failed',
'user' => Array('id' => 'abc', 'email' => 'user@foobar.io')
Expand All @@ -51,6 +53,7 @@ public function testRisk()
{
Castle_RequestTransport::setResponse(204, '');
Castle::risk(Array(
'request_token' => '7e51335b-f4bc-4bc7-875d-b713fb61eb23-bf021a3022a1a302',
'name' => '$login',
'status' => '$succeeded',
'user' => Array('id' => 'abc', 'email' => 'user@foobar.io')
Expand Down

0 comments on commit f4c2f4d

Please sign in to comment.