Skip to content

Commit 762d80c

Browse files
authored
Fix support of the lowercase response headers (#545)
1 parent 806570b commit 762d80c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/integration/api/admin/api_spec.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -602,6 +602,10 @@ describe("api", function () {
602602
expect(result.rate_limit_reset_at).to.be.an("object");
603603
expect(result.rate_limit_reset_at).to.have.property("getDate");
604604
expect(result.rate_limit_remaining).to.be.a("number");
605+
606+
expect(result.rate_limit_allowed).to.be.above(0);
607+
expect(result.rate_limit_remaining).to.be.above(0);
608+
expect(result.rate_limit_reset_at).to.be.above(0);
605609
});
606610
});
607611
});

0 commit comments

Comments
 (0)