You are here

public function JobsApiFunctionalTest::tearDown in TMGMT Translator Smartling 8.4

Same name and namespace in other branches
  1. 8.3 vendor/smartling/api-sdk-php/tests/functional/JobsApiFunctionalTest.php \Smartling\Tests\Functional\JobsApiFunctionalTest::tearDown()

File

vendor/smartling/api-sdk-php/tests/functional/JobsApiFunctionalTest.php, line 69

Class

JobsApiFunctionalTest
Test class for Jobs API examples.

Namespace

Smartling\Tests\Functional

Code

public function tearDown() {
  try {
    $this
      ->cancelJob($this->jobId);
  } catch (SmartlingApiException $e) {
    $this
      ->fail($e
      ->getMessage());
  }
}