protected function CreditCardTest::setUp in Ubercart 8.4
Overrides UbercartBrowserTestBase::setUp
File
- payment/
uc_credit/ tests/ src/ Functional/ CreditCardTest.php, line 76
Class
- CreditCardTest
- Tests credit card payments with the test gateway.
Namespace
Drupal\Tests\uc_credit\FunctionalCode
protected function setUp() {
parent::setUp();
// Need admin permissions in order to change credit card settings.
$this
->drupalLogin($this->adminUser);
// Configure and enable Credit card module and Test gateway.
$this
->configureCreditCard();
$this
->configureGateway();
}