diff --git a/tests/Integration/GusApiTest.php b/tests/Integration/GusApiTest.php index 47e77df..17bd734 100644 --- a/tests/Integration/GusApiTest.php +++ b/tests/Integration/GusApiTest.php @@ -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()); } }