Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
felixdorn committed May 30, 2021
1 parent ba5496e commit 49a6580
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/RuleTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
Rule::useHttpClient($client);

$rule = new Rule('cats has:images', 'cats with images');
$response = $rule->add();
$response = $rule->save();
/** @var Request $sentRequest */
$sentRequest = $requestsSent[0]['request'];

Expand Down Expand Up @@ -73,7 +73,7 @@
Rule::useHttpClient($client);

$rule = new Rule('cats has:images', 'cats with images');
$rule->add();
$rule->save();
$rule->delete();
/** @var Request $sentRequest */
$sentRequest = $requestsSent[1]['request'];
Expand Down

0 comments on commit 49a6580

Please sign in to comment.