mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-14 22:23:42 +01:00
Merge pull request #9755 from overleaf/jpa-dropbox-use-project-id-from-web
[misc] let web feed back projectId to resolve "unknown project" updates GitOrigin-RevId: d005370e7a1e7a4a5d9e54d62e47dfff3541f8f1
This commit is contained in:
@@ -10,6 +10,7 @@ const MODULE_PATH =
|
||||
describe('TpdsController', function () {
|
||||
beforeEach(function () {
|
||||
this.metadata = {
|
||||
projectId: ObjectId(),
|
||||
entityId: ObjectId(),
|
||||
folderId: ObjectId(),
|
||||
entityType: 'doc',
|
||||
@@ -74,6 +75,7 @@ describe('TpdsController', function () {
|
||||
json: payload => {
|
||||
expect(payload).to.deep.equal({
|
||||
status: 'applied',
|
||||
projectId: this.metadata.projectId.toString(),
|
||||
entityId: this.metadata.entityId.toString(),
|
||||
folderId: this.metadata.folderId.toString(),
|
||||
entityType: this.metadata.entityType,
|
||||
|
||||
Reference in New Issue
Block a user