From 1093fc8350e0c0d888f3862d8c45e86b71089403 Mon Sep 17 00:00:00 2001 From: lis-dev Date: Wed, 26 Aug 2020 14:35:42 +0300 Subject: [PATCH] Update tests --- tests/NovaPoshtaApi2Test.php | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/tests/NovaPoshtaApi2Test.php b/tests/NovaPoshtaApi2Test.php index de25699..5e35562 100755 --- a/tests/NovaPoshtaApi2Test.php +++ b/tests/NovaPoshtaApi2Test.php @@ -701,12 +701,7 @@ public function testPrintDocumentGetLink($ref) $this->assertTrue($result['success']); } - /** - * printMarkings(). - * - * @depends testNewInternetDocument - */ - public function testPrintMarkings($ref) + public function testPrintMarkings() { /* There is unexsisted DocumentRef, because if will real id there will not @@ -714,16 +709,11 @@ public function testPrintMarkings($ref) */ $result = $this->np->printMarkings('123'); - // Code of 'Document not found' - $this->assertEquals('20000300415', $result['errorCodes'][0]); + // Code of 'Document does not exist' + $this->assertEquals('20000202552', $result['errorCodes'][0]); } - /** - * printMarkings(). - * - * @depends testNewInternetDocument - */ - public function testPrintMarkingsGetLink($ref) + public function testPrintMarkingsGetLink() { /* There is unexsisted DocumentRef, because if will real id there will not