diff --git a/docs/source/guides/testing.md b/docs/source/guides/testing.md index c7f415553..0739e9647 100644 --- a/docs/source/guides/testing.md +++ b/docs/source/guides/testing.md @@ -95,7 +95,7 @@ describe('DogComponent', () => { imports: [ApolloTestingModule], }); - controller = TestBed.get(ApolloTestingController); + controller = TestBed.inject(ApolloTestingController); }); afterEach(() => {