From dbb1dd5662ba41274a0b6d37187fdac4477c975e Mon Sep 17 00:00:00 2001 From: s1uggard Date: Tue, 8 Aug 2023 19:51:37 +0300 Subject: [PATCH] FacadeTest fix --- tests/Feature/FacadeTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Feature/FacadeTest.php b/tests/Feature/FacadeTest.php index 2cd427a..d1a8c5a 100644 --- a/tests/Feature/FacadeTest.php +++ b/tests/Feature/FacadeTest.php @@ -29,7 +29,7 @@ public function test_process_ok() $rand = $this->getFunctionMock('AlexGeno\PhoneVerification', 'rand'); $rand->expects($this->once())->willReturn($otp); - $this->assertEmpty(PhoneVerification::initiate($to)); + $this->assertNotEmpty(PhoneVerification::initiate($to)); $this->assertNotEmpty(PhoneVerification::complete($to, $otp)); } }