Skip to content

Commit a230148

Browse files
committed
Removed tests for Hosted buttons
1 parent 475fbf6 commit a230148

File tree

2 files changed

+0
-22
lines changed

2 files changed

+0
-22
lines changed

test/index.html

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -131,23 +131,6 @@ <h2>Subscribe (Large)</h2>
131131
></script>
132132
</div>
133133

134-
<div id="hosted-sm">
135-
<h2>Hosted (Small)</h2>
136-
<script src="../src/paypal-button.js?merchant=6XF3MPZBZV6HU"
137-
data-button="cart"
138-
data-id="8R63A645E2QB6"
139-
data-size="small"
140-
></script>
141-
</div>
142-
143-
<div id="hosted-lg">
144-
<h2>Hosted</h2>
145-
<script src="../src/paypal-button.js?merchant=6XF3MPZBZV6HU"
146-
data-button="cart"
147-
data-id="8R63A645E2QB6"
148-
></script>
149-
</div>
150-
151134
<div id="qr">
152135
<h2>QR Code</h2>
153136
<script src="../src/paypal-button.js?merchant=6XF3MPZBZV6HU"

test/test.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,6 @@ describe("Test page button counter", function () {
6969
buttons.subscribe.should.equal(2);
7070
});
7171

72-
it("Should have two hosted buttons", function () {
73-
buttons.hosted.should.equal(2);
74-
});
75-
7672
it("Should have one QR code", function () {
7773
buttons.qr.should.equal(1);
7874
});
@@ -138,5 +134,4 @@ describe("Multiple button image sizes", function () {
138134

139135
testSize("sm", "buynow");
140136
testSize("sm", "cart");
141-
testSize("sm", "hosted");
142137
});

0 commit comments

Comments
 (0)