Skip to content

Commit

Permalink
Fix for broken tests
Browse files Browse the repository at this point in the history
  • Loading branch information
peterojo committed May 3, 2021
1 parent 974d977 commit 0eea1e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Integration/ExceptionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ public function testExceptionMisspelledContractParameterValue()
// check if exception is correct
$this->assertEquals(AdyenException::class, get_class($e));
$this->assertEquals('Invalid contract', $e->getMessage());
$this->assertEquals('422', $e->getCode());
$this->assertEquals('802', $e->getCode());
}

public function testExceptionMissingUsernamePassword()
Expand Down Expand Up @@ -107,7 +107,7 @@ public function testExceptionMissingUsernamePassword()
// check if exception is correct
$this->assertEquals(AdyenException::class, get_class($e));
$this->assertEquals("HTTP Status Response - Unauthorized", $e->getMessage());
$this->assertEquals('401', $e->getCode());
$this->assertEquals('0', $e->getCode());
$this->assertEquals('401', $e->getStatus());
}
}

0 comments on commit 0eea1e8

Please sign in to comment.