Skip to content

Node.js based forum software built for the modern web

fix: timeago test for dev/prod

Barış Soner Uşaklı7db224f689ad
diff --git a/test/controllers.js b/test/controllers.js
index 5953c73e60..d316cac0aa 100644
--- a/test/controllers.js
+++ b/test/controllers.js
@@ -1842,7 +1842,7 @@ describe('Controllers', function () {
request(nconf.get('url') + '/assets/src/modules/timeago/locales/jquery.timeago.af.js', function (err, res, body) {
assert.ifError(err);
assert.equal(res.statusCode, 200);
- assert(body.includes('suffixAgo:"gelede"'));
+ assert(body.includes('"gelede"'));
done();
});
});