mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-06 12:31:33 +01:00
more cleanup and changes to topics
This commit is contained in:
@@ -33,8 +33,8 @@ describe('Categories', function() {
|
||||
it('should retrieve a newly created category by its ID', function(done) {
|
||||
Categories.getCategoryById(categoryObj.cid, 0, -1, 0, function(err, categoryData) {
|
||||
assert(categoryData);
|
||||
assert.equal(categoryObj.name, categoryData.category_name);
|
||||
assert.equal(categoryObj.description, categoryData.category_description);
|
||||
assert.equal(categoryObj.name, categoryData.name);
|
||||
assert.equal(categoryObj.description, categoryData.description);
|
||||
|
||||
done();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user