Skip to content

Node.js based forum software built for the modern web

fix: test

Barış Soner Uşaklıb990312088fa
diff --git a/test/template-helpers.js b/test/template-helpers.js
index 7090683c3c..ada455ef4f 100644
--- a/test/template-helpers.js
+++ b/test/template-helpers.js
@@ -102,7 +102,7 @@ describe('helpers', function () {
],
};
var html = helpers.generateChildrenCategories(category);
- assert.equal(html, '<span class="category-children"><span class="category-children-item pull-left"><div class="icon pull-left" style="background-color: #ff0000; color: #00ff00;"><i class="fa fa-fw undefined"></i></div><a href="' + nconf.get('relative_path') + '/category/undefined"><small>children</small></a></span></span>');
+ assert.equal(html, '<span class="category-children"><span class="category-children-item pull-left"><div role="presentation" class="icon pull-left" style="background-color: #ff0000; color: #00ff00;"><i class="fa fa-fw undefined"></i></div><a href="' + nconf.get('relative_path') + '/category/undefined"><small>children</small></a></span></span>');
done();
});