Skip to content
This repository was archived by the owner on Oct 30, 2020. It is now read-only.

Commit

Permalink
Adds test for card verification
Browse files Browse the repository at this point in the history
  • Loading branch information
Craig Paul committed Oct 20, 2016
1 parent 1a5eec1 commit 6eb5dc3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/GatewayTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,4 +75,13 @@ public function it_can_pre_authorize_a_purchase_and_receive_a_response()
$this->assertEquals(Response::class, get_class($response));
$this->assertTrue($response->successful);
}

/** @test */
public function it_can_verify_a_card_before_attempting_a_purchase_and_receive_a_response()
{
$response = $this->gateway->verify($this->params);

$this->assertEquals(Response::class, get_class($response));
$this->assertTrue($response->successful);
}
}

0 comments on commit 6eb5dc3

Please sign in to comment.