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