Skip to content

Commit

Permalink
test: Update phase ids
Browse files Browse the repository at this point in the history
  • Loading branch information
d-beezee committed May 20, 2024
1 parent 03d4af7 commit 4d10b25
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion src/routes/users/me/campaigns/_get/filters.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ describe("GET /users/me/campaigns - filters", () => {
pm_id: 1,
project_id: 1,
customer_title: "Customer title",
phase_id: 10,
phase_id: 20,
};
await tryber.tables.WpAppqCampaignType.do().insert({
id: 1,
Expand Down
4 changes: 2 additions & 2 deletions src/routes/users/me/campaigns/_get/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,14 +46,14 @@ describe("GET /users/me/campaigns", () => {
id: 1,
title: "Public campaign",
is_public: 1,
phase_id: 10,
phase_id: 20,
},
{
...campaign,
id: 2,
title: "Small Group campaign",
is_public: 0,
phase_id: 10,
phase_id: 20,
},
{
...campaign,
Expand Down
2 changes: 1 addition & 1 deletion src/routes/users/me/campaigns/_get/manualpreview.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ describe("GET /users/me/campaigns ", () => {
platform_id: 1,
customer_id: 1,
project_id: 1,
phase_id: 10,
phase_id: 20,
customer_title: "Customer title",
};

Expand Down
2 changes: 1 addition & 1 deletion src/routes/users/me/campaigns/_get/order.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ describe("GET /users/me/campaigns ", () => {
customer_id: 1,
project_id: 1,
customer_title: "Customer title",
phase_id: 10,
phase_id: 20,
};
campaignTypes.insert({
id: 1,
Expand Down
2 changes: 1 addition & 1 deletion src/routes/users/me/campaigns/_get/pagination.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ describe("GET /users/me/campaigns - pagination ", () => {
customer_id: 1,
project_id: 1,
customer_title: "Customer title",
phase_id: 10,
phase_id: 20,
};
await tryber.tables.WpAppqEvdCampaign.do().insert([
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,7 @@ describe("Route GET /users/me/campaigns/{campaignId}/ - bug language set", () =>
pm_id: 1,
project_id: 1,
customer_title: "My campaign",
phase_id: 10,
phase_id: 20,
});
await tryber.tables.WpAppqCpMeta.do().insert([
{
Expand Down
4 changes: 2 additions & 2 deletions src/routes/users/me/campaigns/campaignId/_get/useBasicData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ const useBasicData = () => {
pm_id: 1,
project_id: 1,
customer_title: "My campaign",
phase_id: 10,
phase_id: 20,
},
{
id: 2,
Expand All @@ -225,7 +225,7 @@ const useBasicData = () => {
pm_id: 1,
project_id: 1,
customer_title: "My campaign",
phase_id: 10,
phase_id: 20,
},
]);
await tryber.tables.WpOptions.do().insert({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const useBasicData = () => {
customer_id: 1,
pm_id: 1,
project_id: 1,
phase_id: 10,
phase_id: 20,
});
await tryber.tables.WpCrowdAppqHasCandidate.do().insert({
selected_device: 1,
Expand Down Expand Up @@ -78,7 +78,7 @@ const useBasicData = () => {
customer_id: 1,
pm_id: 1,
project_id: 1,
phase_id: 10,
phase_id: 20,
});

await tryber.tables.WpAppqEvdCampaign.do().insert({
Expand All @@ -95,7 +95,7 @@ const useBasicData = () => {
customer_id: 1,
pm_id: 1,
project_id: 1,
phase_id: 10,
phase_id: 20,
});

await tryber.tables.WpCrowdAppqHasCandidate.do().insert({
Expand Down Expand Up @@ -152,7 +152,7 @@ const useBasicData = () => {
customer_id: 1,
pm_id: 1,
project_id: 1,
phase_id: 10,
phase_id: 20,
});

await tryber.tables.WpAppqCampaignTask.do().insert({
Expand Down

0 comments on commit 4d10b25

Please sign in to comment.