-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix invalid buck retrieve from new bucket upload(scrapyd) notificatio…
…n endpoint.
- Loading branch information
Showing
19 changed files
with
55 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,12 +20,12 @@ describe('Favorite routes', () => { | |
passThroughOnException: () => {}, | ||
}; | ||
caller = await setupTest(env, executionCtx); | ||
user = (await userClass.create({ | ||
user = await userClass.create({ | ||
email: '[email protected]', | ||
name: 'test', | ||
username: 'test', | ||
password: 'test123', | ||
})) as User; | ||
}); | ||
}); | ||
|
||
beforeEach(async () => { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -51,12 +51,12 @@ describe('Item routes', () => { | |
name: 'test', | ||
type: 'test', | ||
}); | ||
owner = (await userClass.create({ | ||
owner = await userClass.create({ | ||
email: '[email protected]', | ||
name: 'test', | ||
username: 'test', | ||
password: 'test123', | ||
})) as User; | ||
}); | ||
|
||
// clear modules cache to ensure that dependents use the latest mock modules | ||
// this prevents unusual assertion failures during reruns in watch mode | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,12 +45,12 @@ describe('Pack routes', () => { | |
passThroughOnException: () => {}, | ||
}; | ||
caller = await setupTest(env, executionCtx); | ||
owner = (await userClass.create({ | ||
owner = await userClass.create({ | ||
email: '[email protected]', | ||
name: 'test', | ||
username: 'test', | ||
password: 'test123', | ||
})) as User; | ||
}); | ||
|
||
// clear modules cache to ensure that dependents use the latest mock modules | ||
// this prevents unusual assertion failures during reruns in watch mode | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,12 +31,12 @@ describe('Template Routes', () => { | |
|
||
describe('addTemplate', () => { | ||
it('should create a template', async () => { | ||
const user = (await userClass.create({ | ||
const user = await userClass.create({ | ||
email: '[email protected]', | ||
name: 'test', | ||
username: 'test', | ||
password: 'test123', | ||
})) as User; | ||
}); | ||
const result = await caller.addTemplate({ | ||
type: 'pack', | ||
createdBy: user.id, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,12 +22,12 @@ describe('Trip Routes', () => { | |
passThroughOnException: () => {}, | ||
}; | ||
caller = await setupTest(env, executionCtx); | ||
owner = (await userClass.create({ | ||
owner = await userClass.create({ | ||
email: '[email protected]', | ||
name: 'test', | ||
username: 'test', | ||
password: 'test123', | ||
})) as User; | ||
}); | ||
const pack = await packClass.create({ | ||
name: 'test', | ||
owner_id: owner.id, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters