correct error message in rate limit tests
This commit is contained in:
parent
609bf13765
commit
1ce908177e
@ -143,7 +143,7 @@ function assertRateLimitRequest (status, limit, remaining, reset, retry, done) {
|
||||
assert.ifError(err);
|
||||
} else {
|
||||
assert.ok(err);
|
||||
assert.equal(err.message, 'You are over the limits.');
|
||||
assert.equal(err.message, 'You are over platform\'s limits. Please contact us to know more details');
|
||||
assert.equal(err.http_status, 429);
|
||||
assert.equal(err.type, 'limit');
|
||||
assert.equal(err.subtype, 'rate-limit');
|
||||
|
Loading…
Reference in New Issue
Block a user