From 6620acf1bf2b9a8a54a5a9e5b976268c05ef2fe5 Mon Sep 17 00:00:00 2001 From: AnthonyAxenov Date: Sun, 21 Nov 2021 00:17:40 +0800 Subject: [PATCH] =?UTF-8?q?=D0=9C=D0=B5=D0=BB=D0=BA=D0=BE=D1=84=D0=B8?= =?UTF-8?q?=D0=BA=D1=81=20=D1=82=D0=B5=D1=81=D1=82=D0=B0=20KktMonitor::Get?= =?UTF-8?q?One()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/KktMonitorTest.php | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/tests/KktMonitorTest.php b/tests/KktMonitorTest.php index b1ca4d6..88d9ad5 100644 --- a/tests/KktMonitorTest.php +++ b/tests/KktMonitorTest.php @@ -1,4 +1,11 @@ skipIfMonitoringIsOffline(); $client = $this->newTestClient(); $client->auth(); - $serial_number = $client->getAll()->random()->serialNumber; + $serial_number = $client->getAll()->first()->serialNumber; $kkt = $client->getOne($serial_number); $this->assertNotEmpty($client->getResponse()); $this->assertIsSameClass(Kkt::class, $kkt);