From 7921e43608068a45e4cb086fae5f0f703405e7f6 Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Fri, 13 May 2016 10:18:27 -0300 Subject: [PATCH] Fix article cms test --- src/app/article/cms/cms.component.spec.ts | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) 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