Skip to content

Commit

Permalink
fix: Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LautaroPetaccio committed Mar 24, 2022
1 parent 1c2559c commit 9f63578
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Curation/Curation.router.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -741,12 +741,10 @@ describe('when handling a request', () => {
describe('when updating an item', () => {
let item: ItemAttributes
let createItemCurationSpy: jest.SpyInstance
let collectionService: CurationService<any>

beforeEach(() => {
item = { ...dbItemMock, local_content_hash: 'hash1' }
service = mockServiceWithAccess(ItemCuration, true)
collectionService = mockServiceWithAccess(CollectionCuration, true)

jest
.spyOn(service, 'getLatestById')
Expand Down

0 comments on commit 9f63578

Please sign in to comment.