Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FHB-1113: E2E Automated Tests: Adding Users in Manage as Dfe Admin #335

Merged
merged 1 commit into from
Jan 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions test/e2e-seed-data-framework/scripts/seed-referral-db.js

This file was deleted.

11 changes: 0 additions & 11 deletions test/e2e-seed-data-framework/scripts/seed-service-directory-db.js

This file was deleted.

17 changes: 17 additions & 0 deletions test/e2e-seed-data-framework/scripts/seed/seed-referral-db.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import * as Database from "../../core/referral-db-context.js";

/**
* This class contains the implementation of the seeding data for the Referral Db.
*
* To get started, see "example/seed-referral-db.js".
*/

export async function seed() {
// Create an Organisation for our E2E tests
await Database.addOrganisation({
id: 1,
name: "Test LA",
description: "Test LA based in Westminster",
createdBy: "",
});
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as Database from "../../../core/report-db-context.js";
import * as Database from "../../core/report-db-context.js";

/**
* This class contains the implementation of the seeding data for the Report Db.
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import * as Database from "../../core/service-directory-db-context.js";

/**
* This class contains the implementation of the seeding data for the Service Directory Db.
*
* To get started, see "example/seed-service-directory-db.js".
*/

export async function seed() {
// Create an Organisation for our E2E tests
await Database.addOrganisation({
id: 1,
organisationType: "LA",
name: "Test LA",
description: "Test LA based in Westminster",
adminAreaCode: "E09000033",
});
}