correct error message in rate limit tests

This commit is contained in:
Simon Martín 2018-03-23 11:47:28 +01:00
parent 609bf13765
commit 1ce908177e

View File

@ -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');