Skip to content

Node.js based forum software built for the modern web

test: fix android test

Barış Soner Uşaklı25979294e1ae
diff --git a/test/utils.js b/test/utils.js
index 0af0de8bf6..b8bbaabe9c 100644
--- a/test/utils.js
+++ b/test/utils.js
@@ -294,7 +294,7 @@ describe('Utility Methods', () => {
it('should return true if browser is android', (done) => {
const navigator = {
- userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.96 Safari/537.36',
+ userAgent: 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Android/58.0.3029.96 Safari/537.36',
};
assert.equal(utils.isAndroidBrowser(navigator.userAgent), true);
done();