From 80c5da90a412abde4d0e029fa71aba0860b9317f Mon Sep 17 00:00:00 2001 From: sunny Date: Mon, 28 Oct 2024 15:47:56 -0700 Subject: [PATCH] BILL-112: adds create and edit specs --- Tests/Recurly/Plan_Test.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Tests/Recurly/Plan_Test.php b/Tests/Recurly/Plan_Test.php index 00f0ced1..bb13c594 100644 --- a/Tests/Recurly/Plan_Test.php +++ b/Tests/Recurly/Plan_Test.php @@ -89,9 +89,10 @@ public function testCreateXml() { $plan->total_billing_cycles = 6; $plan->auto_renew = false; $plan->dunning_campaign_id = '1234abcd'; + $plan->vertex_transaction_type = 'lease'; $this->assertEquals( - "\nfalse1234abcdPlatinum & Gold Planplatinumfixed5006false15001200\n", + "\nfalse1234abcdPlatinum & Gold Planplatinumfixed500lease6false15001200\n", $plan->xml() ); } @@ -145,9 +146,10 @@ public function testUpdateXml() { $plan->trial_requires_billing_info = false; $plan->tax_code = 'fake-tax-code'; $plan->dunning_campaign_id = '1234abcd'; + $plan->vertex_transaction_type = 'rental'; $this->assertEquals( - "\n1234abcdPlatinum Planplatinum500500fake-tax-codefalsefalse15001200\n", + "\n1234abcdPlatinum Planplatinum500500fake-tax-coderentalfalsefalse15001200\n", $plan->xml() ); }