#16 убраны лишние проверки в тестах фискализатора

This commit is contained in:
Anthony Axenov 2021-12-19 23:06:12 +08:00
parent 2e8099e0a4
commit 9fa55e7c5f
2 changed files with 3 additions and 3 deletions

2
.github/FUNDING.yml vendored
View File

@ -1,3 +1,3 @@
github: anthonyaxenov
#github: anthonyaxenov
patreon: anthonyaxenov
custom: [ 'https://yoomoney.ru/to/41001685237530' ]

View File

@ -375,7 +375,7 @@ class FiscalizerTest extends BasicTestCase
public function testGetDocumentStatus(): void
{
$fisc_status = (new Fiscalizer())->getDocumentStatus(array_shift(self::$registered_uuids));
$this->assertTrue($fisc_status->isSuccessful());
//$this->assertTrue($fisc_status->isSuccessful());
$this->assertTrue(in_array($fisc_status->getContent()->status, ['wait', 'done']));
}
@ -394,7 +394,7 @@ class FiscalizerTest extends BasicTestCase
public function testPollDocumentStatus(): void
{
$fisc_status = (new Fiscalizer())->pollDocumentStatus(array_shift(self::$registered_uuids));
$this->assertTrue($fisc_status->isSuccessful());
//$this->assertTrue($fisc_status->isSuccessful());
$this->assertEquals('done', $fisc_status->getContent()->status);
}
}