Commit 7921e43608068a45e4cb086fae5f0f703405e7f6
1 parent
00f7087d
Exists in
master
and in
26 other branches
Fix article cms test
Showing
1 changed file
with
1 additions
and
0 deletions
Show diff stats
src/app/article/cms/cms.component.spec.ts
... | ... | @@ -55,6 +55,7 @@ describe("Article Cms", () => { |
55 | 55 | }); |
56 | 56 | |
57 | 57 | it("got to the new article page and display an alert when saving sucessfully", done => { |
58 | + $stateParams['parent_id'] = 1; | |
58 | 59 | let component: CmsComponent = new CmsComponent(articleServiceMock, profileServiceMock, $state, notification, $stateParams, $window); |
59 | 60 | component.save(); |
60 | 61 | $rootScope.$apply(); | ... | ... |