Fix project test

This commit is contained in:
Ramon Wenger 2024-03-28 16:25:03 +01:00
parent 98771b2db2
commit 1ad482c651
1 changed files with 3 additions and 3 deletions

View File

@ -27,7 +27,7 @@ describe('Project Page', () => {
student: { student: {
firstName: 'Rachel', firstName: 'Rachel',
lastName: 'Green', lastName: 'Green',
id: 'VXNlck5vZGU6NQ==', id: window.btoa('PublicUserNode:1'),
avatarUrl: '', avatarUrl: '',
}, },
entries, entries,
@ -37,7 +37,7 @@ describe('Project Page', () => {
const operations = { const operations = {
MeQuery: { MeQuery: {
me: { me: {
id: 'VXNlck5vZGU6NQ==', id: window.btoa('PrivateUserNode:1'),
permissions: [], permissions: [],
}, },
}, },
@ -179,7 +179,7 @@ describe('Project Page', () => {
...operations, ...operations,
MeQuery: { MeQuery: {
me: { me: {
id: 'not-the-same', id: window.btoa('PrivateUserNode:99'),
isTeacher: true, isTeacher: true,
}, },
}, },