From c1552fa0d9ecfbbcc2699e14f8264ed33c2a28bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Janusz=20=C5=BBukowicz?= Date: Sun, 3 Jan 2021 18:47:00 +0100 Subject: [PATCH] Fix invalid test --- tests/Integration/GusApiTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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()); } }