We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents dcffa76 + acc1ef3 commit 07ad80aCopy full SHA for 07ad80a
Tests/Feature/PaymentsTest.php
@@ -0,0 +1,33 @@
1
+<?php
2
+
3
+namespace Modules\OfflinePayments\Tests\Feature;
4
5
+use Tests\Feature\PaymentTestCase;
6
7
+class PaymentsTest extends PaymentTestCase
8
+{
9
+ public $alias = 'offline-payments';
10
11
+ public $payment_request = [
12
+ 'payment_method' => 'offline-payments.cash.99',
13
+ 'type' => 'income',
14
+ ];
15
16
+ public $setting_request = [
17
+ 'name' => 'offline payments',
18
+ 'code' => 'offline-payments.cash.99',
19
+ 'customer' => 1,
20
+ 'order' => 1,
21
+ 'description' => 'description',
22
23
24
+ public function testItShouldPayFromSigned()
25
+ {
26
+ $this->assertPaymentFromSigned();
27
+ }
28
29
+ public function testItShouldPayFromPortal()
30
31
+ $this->assertPaymentFromPortal();
32
33
+}
0 commit comments