Skip to content

Commit 4ac707f

Browse files
author
sunny
committed
Removes unnecessary comments
1 parent 1a4db91 commit 4ac707f

1 file changed

Lines changed: 0 additions & 12 deletions

File tree

Tests/Recurly/GiftCard_Test.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,6 @@ public function testRedeemGiftCard() {
6060
$this->assertInstanceOf('Recurly_Delivery', $giftCard->delivery);
6161
}
6262

63-
// AC1: GIVEN I am creating a gift card purchase via the v2 /gift_cards endpoint
64-
// WHEN I pass in a value of true for tax_service_opt_out attribute
65-
// THEN I bypass the tax integration.
6663
public function testCreateGiftCardWithTaxServiceOptOutTrue() {
6764
$this->client->addResponse('POST', '/gift_cards', 'gift_cards/create-with-tax-opt-out-201.xml');
6865

@@ -90,9 +87,6 @@ public function testCreateGiftCardWithTaxServiceOptOutTrue() {
9087
$this->assertEquals($giftCard->unit_amount_in_cents, '3000');
9188
}
9289

93-
// AC2: GIVEN I am creating a gift card purchase via the v2 /gift_cards endpoint
94-
// WHEN I pass in a value of false for tax_service_opt_out attribute
95-
// THEN send to the tax integration.
9690
public function testCreateGiftCardWithTaxServiceOptOutFalse() {
9791
$this->client->addResponse('POST', '/gift_cards', 'gift_cards/create-201.xml');
9892

@@ -120,9 +114,6 @@ public function testCreateGiftCardWithTaxServiceOptOutFalse() {
120114
$this->assertEquals($giftCard->unit_amount_in_cents, '5000');
121115
}
122116

123-
// AC3: GIVEN I am creating a gift card via the v2 /gift_cards endpoint
124-
// WHEN I don't pass a value for tax_service_opt_out attribute
125-
// THEN send to the tax integration.
126117
public function testCreateGiftCardWithoutTaxServiceOptOut() {
127118
$this->client->addResponse('POST', '/gift_cards', 'gift_cards/create-201.xml');
128119

@@ -149,9 +140,6 @@ public function testCreateGiftCardWithoutTaxServiceOptOut() {
149140
$this->assertEquals($giftCard->redemption_code, 'TEST123CODE4567');
150141
}
151142

152-
// AC4: GIVEN I am creating a gift card purchase via the v2 /gift_cards endpoint
153-
// WHEN I pass in a tax_service_opt_out value that isn't accepted
154-
// THEN I receive an API error response.
155143
public function testCreateGiftCardWithInvalidTaxServiceOptOut() {
156144
$this->client->addResponse('POST', '/gift_cards', 'gift_cards/create-invalid-tax-opt-out-422.xml');
157145

0 commit comments

Comments
 (0)