Skip to content

Commit

Permalink
feat(CostSurface): Cost Surface test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
KevSanchez committed Oct 3, 2023
1 parent e06fd24 commit 2823402
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 0 additions & 4 deletions api/apps/api/test/project/project-cost-surface.e2e-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,10 +136,6 @@ describe('Cost Surface', () => {
});

describe('Delete Cost Surface', () => {
beforeEach(async () => {
fixtures = await getProjectCostSurfaceFixtures();
});

it(`should delete the CostSurface properly and emit event`, async () => {
// ARRANGE
const projectId = await fixtures.GivenProject('someProject');
Expand Down
3 changes: 3 additions & 0 deletions api/apps/api/test/project/project-cost-surface.fixtures.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ export const getProjectCostSurfaceFixtures = async () => {
const projectsRepo: Repository<Project> = app.get(
getRepositoryToken(Project),
);
const scenarioRepo: Repository<Scenario> = app.get(
getRepositoryToken(Scenario),
);
const projectsPuRepo: Repository<ProjectsPuEntity> = app.get(
getRepositoryToken(ProjectsPuEntity, DbConnections.geoprocessingDB),
);
Expand Down

0 comments on commit 2823402

Please sign in to comment.