public function UbercartCreditCardTestCase::tearDown in Ubercart 6.2
Same name and namespace in other branches
- 7.3 payment/uc_credit/tests/uc_credit.test \UbercartCreditCardTestCase::tearDown()
Implements DrupalWebTestCase::tearDown().
Overrides DrupalWebTestCase::tearDown
File
- payment/
uc_credit/ uc_credit.test, line 145 - Credit card payment method tests.
Class
- UbercartCreditCardTestCase
- Tests the credit card payments with the test gateway.
Code
public function tearDown() {
// Cleanup keys directory after test.
unlink('sites/default/files/simpletest.keys/' . UC_CREDIT_KEYFILE_NAME);
rmdir('sites/default/files/simpletest.keys');
parent::tearDown();
}