Merge pull request #17 from anthonyaxenov/dev

#16 убраны лишние проверки в тестах фискализатора
pull/19/head^2 v1.0.1
Anthony Axenov 2021-12-20 00:45:24 +08:00 committed by GitHub
commit 4bc92ac0ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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);
}
}