Skip to content

Commit

Permalink
Merge a1b6dc3 into 5aed61a
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisSimmons committed Sep 3, 2020
2 parents 5aed61a + a1b6dc3 commit c68eab3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/searchimagescreativetests.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ test.beforeEach(t=>{
.reply(200, {response : "response"})
.get("/v3/search/images/creative")
.query({ "page_size": 50, "phrase": "cat" })
.reply(200, {response : "response"})
.reply(200, {response : "page50"})
.get("/v3/search/images/creative")
.query({ "prestige_content_only": "true", "phrase": "cat" })
.reply(200, {response : "response"})
Expand Down Expand Up @@ -212,7 +212,7 @@ test("SearchImagesCreative: withPage will include page in query", t => {
test("SearchImagesCreative: withPageSize will include page_size in query", t => {
var client = new api({ apiKey: "apikey", apiSecret: "apisecret" }, null);
return Promise.resolve(client.searchimagescreative().withPhrase("cat").withPageSize(50).execute()).then(res => {
t.is(res.response, "response");
t.is(res.response, "page50");
});
});

Expand Down

0 comments on commit c68eab3

Please sign in to comment.