Skip to content

Commit 12f9293

Browse files
committed
Use John Smith for tests
1 parent 0b88cf0 commit 12f9293

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

tests/BigCommerce/Api/Customers/CustomersApiTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,23 @@ public function testCanGetCustomers()
1212
$this->setReturnData('customers__get_all.json');
1313
$customersResponse = $this->getApi()->customers()->getAll();
1414
$this->assertEquals(1, $customersResponse->getPagination()->total);
15-
$this->assertEquals('Jan', $customersResponse->getCustomers()[0]->first_name);
15+
$this->assertEquals('John', $customersResponse->getCustomers()[0]->first_name);
1616
}
1717

1818
public function testCanGetCustomerByEmail()
1919
{
2020
$this->setReturnData('customers__get_all.json');
21-
$customer = $this->getApi()->customers()->getByEmail('[email protected]');
21+
$customer = $this->getApi()->customers()->getByEmail('[email protected]');
2222

23-
$this->assertEquals('Jan', $customer->first_name);
23+
$this->assertEquals('John', $customer->first_name);
2424
}
2525

2626
public function testCanGetCustomerById()
2727
{
2828
$this->setReturnData('customers__get_all.json');
2929
$customer = $this->getApi()->customers()->getById(1);
3030

31-
$this->assertEquals('[email protected]', $customer->email);
31+
$this->assertEquals('[email protected]', $customer->email);
3232
}
3333

3434
public function testCanGetNullCustomerById()

tests/BigCommerce/responses/customers__get_all.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
},
88
"company": "Aligent",
99
"customer_group_id": 1,
10-
"email": "[email protected]",
11-
"first_name": "Jan",
12-
"last_name": "Plank",
10+
"email": "[email protected]",
11+
"first_name": "John",
12+
"last_name": "Smith",
1313
"notes": "",
1414
"phone": "",
1515
"registration_ip_address": "",

0 commit comments

Comments
 (0)