Skip to content

Commit

Permalink
Fix invalid test
Browse files Browse the repository at this point in the history
  • Loading branch information
Janusz Żukowicz committed Jan 3, 2021
1 parent edb4112 commit c1552fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Integration/GusApiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ public function testGetByInvalidNipAndGetMessage()
self::$apiClient->getByNip('0123456700');
} finally {
$this->assertSame(1, self::$apiClient->getSessionStatus());
$this->assertSame('', self::$apiClient->getMessage());
$this->assertSame(0, self::$apiClient->getMessageCode());
$this->assertSame('Nie znaleziono podmiotów.', self::$apiClient->getMessage());
$this->assertSame(4, self::$apiClient->getMessageCode());
}
}

Expand Down

0 comments on commit c1552fa

Please sign in to comment.