diff --git a/src/tests/gui/html/js/test_plugin.js b/src/tests/gui/html/js/test_plugin.js
index 06d23744..3cdfae8c 100644
--- a/src/tests/gui/html/js/test_plugin.js
+++ b/src/tests/gui/html/js/test_plugin.js
@@ -1276,7 +1276,7 @@ describe('PluginCardContent', () => {
it('should return an array missing the "do not clean" message when the "do not clean" messages filter is enabled', () => {
filters.hideDoNotCleanMessages = true;
plugin.getCardContent(filters).messages.should.deepEqual([
- type: plugin.messages[0],
+ plugin.messages[0],
]);
});