mirror of
https://github.com/anthonyaxenov/atol-online.git
synced 2024-12-22 09:24:55 +00:00
Merge pull request #17 from anthonyaxenov/dev
#16 убраны лишние проверки в тестах фискализатора
This commit is contained in:
commit
4bc92ac0ad
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