Skip to content

Commit

Permalink
tests: rewrite an erroneous var name
Browse files Browse the repository at this point in the history
  • Loading branch information
GresilleSiffle committed Nov 28, 2024
1 parent f7e1e18 commit aed1864
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/cypress/e2e/frontend/comparisonPageInputButtons.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ describe('Comparison page w/ criteria buttons', () => {
cy.sql(`
WITH ent AS (
SELECT
(SELECT id FROM tournesol_entity WHERE uid = '${uid1}') AS uid1,
(SELECT id FROM tournesol_entity WHERE uid = '${uid2}') AS uid2
(SELECT id FROM tournesol_entity WHERE uid = '${uid1}') AS id1,
(SELECT id FROM tournesol_entity WHERE uid = '${uid2}') AS id2
)
INSERT INTO tournesol_comparison (
user_id,
Expand All @@ -40,9 +40,9 @@ describe('Comparison page w/ criteria buttons', () => {
poll_id
) VALUES (
(SELECT id FROM core_user WHERE username = '${username}'),
(SELECT uid1 FROM ent),
(SELECT uid2 FROM ent),
(SELECT uid1 FROM ent) || '__' || (SELECT uid2 FROM ent),
(SELECT id1 FROM ent),
(SELECT id2 FROM ent),
(SELECT id1 FROM ent) || '__' || (SELECT id2 FROM ent),
1);
`);
});
Expand Down

0 comments on commit aed1864

Please sign in to comment.