mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
fix ShareProjectModal test case for non project owners cases
GitOrigin-RevId: 413de85b57e638defb5d240bd6275126e75a4114
This commit is contained in:
parent
114b275e3b
commit
3990e182d7
1 changed files with 8 additions and 0 deletions
|
@ -212,6 +212,10 @@ describe('<ShareProjectModal/>', function () {
|
|||
publicAccesLevel: 'tokenBased',
|
||||
},
|
||||
}}
|
||||
user={{
|
||||
id: 'non-project-owner',
|
||||
email: 'non-project-owner@example.com',
|
||||
}}
|
||||
>
|
||||
<ShareProjectModal {...modalProps} />
|
||||
</EditorProviders>
|
||||
|
@ -237,6 +241,10 @@ describe('<ShareProjectModal/>', function () {
|
|||
publicAccesLevel: 'private',
|
||||
},
|
||||
}}
|
||||
user={{
|
||||
id: 'non-project-owner',
|
||||
email: 'non-project-owner@example.com',
|
||||
}}
|
||||
>
|
||||
<ShareProjectModal {...modalProps} />
|
||||
</EditorProviders>
|
||||
|
|
Loading…
Reference in a new issue