diff --git a/Tests/Recurly/Billing_Info_Test.php b/Tests/Recurly/Billing_Info_Test.php index b053fbbe..721b60ef 100644 --- a/Tests/Recurly/Billing_Info_Test.php +++ b/Tests/Recurly/Billing_Info_Test.php @@ -214,15 +214,18 @@ public function testForOnlineBankingPaymentType() { public function testForGatewayToken() { $billing_info = new Recurly_BillingInfo(null, $this->client); + $gateway_attributes = new Recurly_GatewayAttributes(); + $gateway_attributes->account_reference = '123ABC'; $billing_info->gateway_token = 'x1x2x3'; $billing_info->gateway_code = 'abc123'; $billing_info->month = '11'; $billing_info->year = '2025'; + $billing_info->gateway_attributes = $gateway_attributes; $this->assertInstanceOf('Recurly_BillingInfo', $billing_info); $this->assertEquals( $billing_info->xml(), - "\n112025x1x2x3abc123\n" + "\n112025x1x2x3abc123123ABC\n" ); }