Skip to content
This repository has been archived by the owner on Feb 17, 2022. It is now read-only.

Commit

Permalink
Fixed expectation count.
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkGhostHunter committed Dec 21, 2021
1 parent 62dc051 commit fcbe710
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions tests/Http/Middleware/ScoreMiddlewareTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,6 @@ public function test_no_error_if_no_action(): void
$mock = $this->spy(Captchavel::class);

$mock->expects('getChallenge')
->twice()
->with('token', '127.0.0.1', Captchavel::SCORE, Captchavel::INPUT, null)
->andReturn(
$this->fulfilledResponse(['success' => true, 'action' => 'foo', 'apk_package_name' => null])
Expand All @@ -356,7 +355,6 @@ public function test_no_error_if_action_same(): void
$mock = $this->spy(Captchavel::class);

$mock->expects('getChallenge')
->twice()
->with('token', '127.0.0.1', Captchavel::SCORE, Captchavel::INPUT, 'foo')
->andReturn(
$this->fulfilledResponse(['success' => true, 'action' => 'foo', 'apk_package_name' => null])
Expand Down

0 comments on commit fcbe710

Please sign in to comment.