Skip to content

Commit 1093fc8

Browse files
committed
Update tests
1 parent 60e8caa commit 1093fc8

1 file changed

Lines changed: 4 additions & 14 deletions

File tree

tests/NovaPoshtaApi2Test.php

Lines changed: 4 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -701,29 +701,19 @@ public function testPrintDocumentGetLink($ref)
701701
$this->assertTrue($result['success']);
702702
}
703703

704-
/**
705-
* printMarkings().
706-
*
707-
* @depends testNewInternetDocument
708-
*/
709-
public function testPrintMarkings($ref)
704+
public function testPrintMarkings()
710705
{
711706
/*
712707
There is unexsisted DocumentRef, because if will real id there will not
713708
any chance delete this tested document
714709
*/
715710
$result = $this->np->printMarkings('123');
716711

717-
// Code of 'Document not found'
718-
$this->assertEquals('20000300415', $result['errorCodes'][0]);
712+
// Code of 'Document does not exist'
713+
$this->assertEquals('20000202552', $result['errorCodes'][0]);
719714
}
720715

721-
/**
722-
* printMarkings().
723-
*
724-
* @depends testNewInternetDocument
725-
*/
726-
public function testPrintMarkingsGetLink($ref)
716+
public function testPrintMarkingsGetLink()
727717
{
728718
/*
729719
There is unexsisted DocumentRef, because if will real id there will not

0 commit comments

Comments
 (0)