Skip to content

Commit

Permalink
Additional tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman Schapfl committed Apr 25, 2019
1 parent 07d723a commit 84a6154
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions tests/client/ErrorHandlingTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,18 @@ public function testGetAvailablePaymentOptions()
$this->client->getAvailablePaymentOptions($this->api_order);
}

public function testCurrentNetPriceTest()
{
$this->expectException(SoapCallException::class);
$netPrice = $this->client->getCurrentNetPrice($this->api_order);
}

public function testCurrentGrossPriceTest()
{
$this->expectException(SoapCallException::class);
$grossPrice = $this->client->getCurrentGrossPrice($this->api_order);
}

public function testSendFullOrder()
{
$this->expectException(SoapCallException::class);
Expand Down
2 changes: 1 addition & 1 deletion tests/client/IntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1347,7 +1347,7 @@ public function testUploadFileByPaths()
);
}

public function testCustomFormatTest()
public function testCurrentPriceTest()
{
$api_order = $this->factory->createOrder();
$api_order->loadByPersistencyString(
Expand Down

0 comments on commit 84a6154

Please sign in to comment.