Moved bank transfer logic to special module
This commit is contained in:
@@ -52,8 +52,9 @@ class PaymentMethodOptionsTest extends TestCase
|
||||
$this->assertTrue(PaymentMethod::isConfigurationComplete($slug, ['iban' => 'DE123', 'account_owner' => 'Kasse']));
|
||||
}
|
||||
|
||||
public function test_slug_without_options_is_always_complete(): void
|
||||
public function test_unknown_slug_is_always_complete(): void
|
||||
{
|
||||
$this->assertTrue(PaymentMethod::isConfigurationComplete(PaymentMethod::PAYMENT_NOT_DEFINED, []));
|
||||
// Kein Modul -> keine Pflichtfelder -> stets vollständig.
|
||||
$this->assertTrue(PaymentMethod::isConfigurationComplete('NO_MODULE', []));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user