Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lis-dev committed Aug 26, 2020
1 parent 60e8caa commit 1093fc8
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions tests/NovaPoshtaApi2Test.php
Original file line number Diff line number Diff line change
Expand Up @@ -701,29 +701,19 @@ 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
any chance delete this tested document
*/
$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
Expand Down

0 comments on commit 1093fc8

Please sign in to comment.