Compare commits

...

2 Commits

Author SHA1 Message Date
4bc92ac0ad
Merge pull request #17 from anthonyaxenov/dev
#16 убраны лишние проверки в тестах фискализатора
2021-12-20 00:45:24 +08:00
9fa55e7c5f #16 убраны лишние проверки в тестах фискализатора 2021-12-19 23:07:03 +08:00
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 patreon: anthonyaxenov
custom: [ 'https://yoomoney.ru/to/41001685237530' ] custom: [ 'https://yoomoney.ru/to/41001685237530' ]

View File

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