You are here

protected function UbercartCreditCardTestCase::tearDown in Ubercart 7.3

Same name and namespace in other branches
  1. 6.2 payment/uc_credit/uc_credit.test \UbercartCreditCardTestCase::tearDown()

Implements DrupalWebTestCase::tearDown().

Overrides DrupalWebTestCase::tearDown

File

payment/uc_credit/tests/uc_credit.test, line 143
Credit card payment method tests.

Class

UbercartCreditCardTestCase
Tests credit card payments with the test gateway.

Code

protected function tearDown() {

  // Cleanup keys directory after test.
  drupal_unlink('sites/default/files/simpletest.keys/' . UC_CREDIT_KEYFILE_NAME);
  drupal_rmdir('sites/default/files/simpletest.keys');
  parent::tearDown();
}