fixes js tests

This commit is contained in:
Shannon
2018-07-17 15:41:09 +10:00
parent e2bcf59b0f
commit c2dae6f5a0
2 changed files with 15 additions and 9 deletions

View File

@@ -54,14 +54,6 @@ describe('edit media controller tests', function () {
it('it should have added an info app', function () {
expect(scope.content.apps[1].alias).toBe("info");
});
it('all other tabs than the info tab should have a properties collection', function () {
$(scope.content.tabs).each(function (i, tab) {
if (tab.id !== -1 && tab.alias !== '_umb_infoTab') {
expect(tab.properties.length).toBeGreaterThan(0);
}
});
});
});
});