Skip to content

Commit

Permalink
update domain.test.ts
Browse files Browse the repository at this point in the history
update domain.test.ts with isFceb so tests run as normal
  • Loading branch information
DJensen94 committed Oct 2, 2024
1 parent f1c33e6 commit 522c129
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions backend/test/domains.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ describe('domains', () => {
const name = 'test-' + Math.random();
const domain = await Domain.create({
name,
isFceb: true,
organization
}).save();
await Service.create({
Expand All @@ -62,6 +63,7 @@ describe('domains', () => {
}).save();
await Domain.create({
name: name + '-2',
isFceb: true,
organization: organization2
}).save();
const response = await request(app)
Expand Down Expand Up @@ -90,10 +92,12 @@ describe('domains', () => {
const name = 'test-' + Math.random();
await Domain.create({
name,
isFceb: true,
organization
}).save();
await Domain.create({
name: name + '-2',
isFceb: true,
organization: organization2
}).save();
const response = await request(app)
Expand All @@ -117,10 +121,12 @@ describe('domains', () => {
const name = 'test-' + Math.random();
await Domain.create({
name,
isFceb: true,
organization
}).save();
await Domain.create({
name: name + '-2',
isFceb: true,
organization: organization2
}).save();
const response = await request(app)
Expand All @@ -147,10 +153,12 @@ describe('domains', () => {
const name = 'test-' + Math.random();
const domain = await Domain.create({
name,
isFceb: true,
organization
}).save();
await Domain.create({
name: name + '-2',
isFceb: true,
organization: organization2
}).save();
const response = await request(app)
Expand Down Expand Up @@ -178,10 +186,12 @@ describe('domains', () => {
const name = 'test-' + Math.random();
const domain = await Domain.create({
name,
isFceb: true,
organization
}).save();
await Domain.create({
name: name + '-2',
isFceb: true,
organization: organization2
}).save();
const response = await request(app)
Expand Down Expand Up @@ -213,10 +223,12 @@ describe('domains', () => {
const name = 'test-' + Math.random();
const domain = await Domain.create({
name,
isFceb: true,
organization
}).save();
await Domain.create({
name: name + '-2',
isFceb: true,
organization: organization2
}).save();
const response = await request(app)
Expand All @@ -238,10 +250,12 @@ describe('domains', () => {
const name = 'test-' + Math.random();
await Domain.create({
name: name + '-1',
isFceb: true,
organization
}).save();
await Domain.create({
name: name + '-2',
isFceb: true,
organization
}).save();
const response = await request(app)
Expand All @@ -264,10 +278,12 @@ describe('domains', () => {
const name = 'test-' + Math.random();
await Domain.create({
name: name + '-1',
isFceb: true,
organization
}).save();
await Domain.create({
name: name + '-2',
isFceb: true,
organization
}).save();
const response = await request(app)
Expand All @@ -291,10 +307,12 @@ describe('domains', () => {
const name = 'test-' + Math.random();
await Domain.create({
name,
isFceb: true,
organization
}).save();
await Domain.create({
name: name + '-2',
isFceb: true,
organization: organization2
}).save();
const response = await request(app)
Expand All @@ -317,10 +335,12 @@ describe('domains', () => {
const name = 'test-' + Math.random();
await Domain.create({
name,
isFceb: true,
organization
}).save();
await Domain.create({
name: name + '-2',
isFceb: true,
organization: organization2
}).save();
const response = await request(app)
Expand All @@ -344,10 +364,12 @@ describe('domains', () => {
const name = 'test-' + Math.random();
await Domain.create({
name,
isFceb: true,
organization
}).save();
await Domain.create({
name: name + '-2',
isFceb: true,
organization: organization2
}).save();
const response = await request(app)
Expand All @@ -371,10 +393,12 @@ describe('domains', () => {
const name = 'test-' + Math.random();
await Domain.create({
name,
isFceb: true,
organization
}).save();
await Domain.create({
name: name + '-2',
isFceb: true,
organization: organization2
}).save();
const response = await request(app)
Expand All @@ -398,6 +422,7 @@ describe('domains', () => {
const name = 'test-' + Math.random();
const domain = await Domain.create({
name,
isFceb: true,
organization
}).save();
const webpage = await Webpage.create({
Expand All @@ -421,6 +446,7 @@ describe('domains', () => {
const name = 'test-' + Math.random();
const domain = await Domain.create({
name,
isFceb: true,
organization: organization2
}).save();
const response = await request(app)
Expand All @@ -438,6 +464,7 @@ describe('domains', () => {
const name = 'test-' + Math.random();
const domain = await Domain.create({
name,
isFceb: true,
organization: organization2
}).save();
const response = await request(app)
Expand Down

0 comments on commit 522c129

Please sign in to comment.