Skip to content

Commit

Permalink
test: fix project page missing provider
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlj95 committed Nov 19, 2023
1 parent 074e62c commit c043714
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/projects/project-page/project-page.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import { of } from 'rxjs'
import { ProjectAssetsCollectionsService } from './project-assets-collections.service'
import { ActivatedRoute } from '@angular/router'
import { ProjectRouteData } from './projects-routes-data'
import { GeneralMetadataService } from '../../common/metadata/general-metadata/general-metadata.service'

describe('ProjectPageComponent', () => {
let component: ProjectPageComponent
Expand All @@ -33,6 +34,7 @@ describe('ProjectPageComponent', () => {
return of([])
},
}),
MockProvider(GeneralMetadataService),
],
})
fixture = TestBed.createComponent(ProjectPageComponent)
Expand Down

0 comments on commit c043714

Please sign in to comment.