public function BasicTest::testDefaultConfiguration in Payment 8.2
Same name in this branch
- 8.2 tests/src/Unit/Plugin/Payment/MethodConfiguration/BasicTest.php \Drupal\Tests\payment\Unit\Plugin\Payment\MethodConfiguration\BasicTest::testDefaultConfiguration()
- 8.2 tests/src/Unit/Plugin/Payment/Method/BasicTest.php \Drupal\Tests\payment\Unit\Plugin\Payment\Method\BasicTest::testDefaultConfiguration()
- 8.2 tests/src/Unit/Plugin/Payment/LineItem/BasicTest.php \Drupal\Tests\payment\Unit\Plugin\Payment\LineItem\BasicTest::testDefaultConfiguration()
@covers ::defaultConfiguration
File
- tests/
src/ Unit/ Plugin/ Payment/ LineItem/ BasicTest.php, line 79
Class
- BasicTest
- @coversDefaultClass \Drupal\payment\Plugin\Payment\LineItem\Basic
Namespace
Drupal\Tests\payment\Unit\Plugin\Payment\LineItemCode
public function testDefaultConfiguration() {
$configuration = array(
'currency_code' => NULL,
'name' => NULL,
'quantity' => 1,
'amount' => 0,
'description' => NULL,
);
$this
->assertEquals($configuration, $this->sut
->defaultConfiguration());
}