From 1034a89542b035f20025de808c68dae476075f7b Mon Sep 17 00:00:00 2001 From: Matt Hamel Date: Sat, 13 Aug 2016 11:33:24 -0400 Subject: [PATCH] use updated ngModules in blueprint --- addon/ng2/blueprints/ng2/files/__path__/test.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/addon/ng2/blueprints/ng2/files/__path__/test.ts b/addon/ng2/blueprints/ng2/files/__path__/test.ts index cef85f112c20..622eb90bcb37 100644 --- a/addon/ng2/blueprints/ng2/files/__path__/test.ts +++ b/addon/ng2/blueprints/ng2/files/__path__/test.ts @@ -24,9 +24,9 @@ Promise.all([ ]) // First, initialize the Angular testing environment. .then(([testing, testingBrowser]) => { - testing.setBaseTestProviders( - testingBrowser.TEST_BROWSER_DYNAMIC_PLATFORM_PROVIDERS, - testingBrowser.TEST_BROWSER_DYNAMIC_APPLICATION_PROVIDERS + testing.getTestBed().initTestEnvironment( + testingBrowser.BrowserDynamicTestingModule, + testingBrowser.platformBrowserDynamicTesting() ); }) // Then we find all the tests.