diff --git a/src/app/article/cms/cms.component.spec.ts b/src/app/article/cms/cms.component.spec.ts index c11a6cd..2873a69 100644 --- a/src/app/article/cms/cms.component.spec.ts +++ b/src/app/article/cms/cms.component.spec.ts @@ -55,6 +55,7 @@ describe("Article Cms", () => { }); it("got to the new article page and display an alert when saving sucessfully", done => { + $stateParams['parent_id'] = 1; let component: CmsComponent = new CmsComponent(articleServiceMock, profileServiceMock, $state, notification, $stateParams, $window); component.save(); $rootScope.$apply(); -- libgit2 0.21.2