Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit 6475e78

Browse files
committed
tests: move test to correct location
1 parent 9b9c585 commit 6475e78

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

tests/Api/CartsTest.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,4 +70,12 @@ public function test_can_call_carts_totals_information()
7070

7171
$this->assertTrue($api->ok());
7272
}
73+
74+
public function test_must_pass_a_single_store_code_to_totals_information()
75+
{
76+
$this->expectException('exception');
77+
78+
$magento = new Magento();
79+
$magento->api('carts')->totalsInformation([]);
80+
}
7381
}

tests/Api/GuestCartsTest.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -95,12 +95,4 @@ public function test_can_call_guest_carts_totals_information()
9595

9696
$this->assertTrue($api->ok());
9797
}
98-
99-
public function test_must_pass_a_single_store_code_to_totals_information()
100-
{
101-
$this->expectException('exception');
102-
103-
$magento = new Magento();
104-
$magento->api('carts')->totalsInformation([]);
105-
}
10698
}

0 commit comments

Comments
 (0)