diff --git a/frontend/tests/unit/tests/work_packages/controllers/details-tab-overview-controller-test.js b/frontend/tests/unit/tests/work_packages/controllers/details-tab-overview-controller-test.js index a76eb01d53..9646c410d9 100644 --- a/frontend/tests/unit/tests/work_packages/controllers/details-tab-overview-controller-test.js +++ b/frontend/tests/unit/tests/work_packages/controllers/details-tab-overview-controller-test.js @@ -488,6 +488,10 @@ describe('DetailsTabOverviewController', function() { buildController(); }); + afterEach(function() { + workPackage.props.customField1.raw = 'red'; + }); + it('adds the custom property to empty properties', function() { expect(fetchEmptyPropertiesWithName(customPropertyName)).not.to.be.empty; });