mirror of
https://github.com/anthonyaxenov/atol-online.git
synced 2024-11-24 18:14:17 +00:00
#16 убраны лишние проверки в тестах фискализатора
This commit is contained in:
parent
2e8099e0a4
commit
9fa55e7c5f
2
.github/FUNDING.yml
vendored
2
.github/FUNDING.yml
vendored
@ -1,3 +1,3 @@
|
||||
github: anthonyaxenov
|
||||
#github: anthonyaxenov
|
||||
patreon: anthonyaxenov
|
||||
custom: [ 'https://yoomoney.ru/to/41001685237530' ]
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user