/** * @depends testCreateCustomerWithoutCardToken */ function testUpdateCustomer($existing_customer) { $updated_customer = Start_Customer::update($existing_customer["id"], array("name" => "Test Updated Customer", "email" => "*****@*****.**")); $this->assertEquals($updated_customer["email"], "*****@*****.**"); $this->assertEquals($updated_customer["name"], "Test Updated Customer"); }