Fix project test
This commit is contained in:
parent
98771b2db2
commit
1ad482c651
|
|
@ -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,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue