Skip to content

Commit

Permalink
Remove duplicated test
Browse files Browse the repository at this point in the history
  • Loading branch information
shinyhappydan committed Jan 16, 2024
1 parent 45f613f commit 39bec21
Showing 1 changed file with 0 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,22 +54,6 @@ class BatchFilesSuite extends NexusSuite with StorageFixtures with Generators wi
}
}

test("batch copying should fetch storage, perform copy and evaluate create file commands 2") {
val events = ListBuffer.empty[Event]
val fetchFileStorage = mockFetchFileStorage(destStorageRef, destStorage.storage, events)
val stubbedDestAttributes = genAttributesAndMetadata()
val batchCopy = BatchCopyMock.withStubbedCopyFiles(events, stubbedDestAttributes)
implicit val c: Caller = Caller(genUser(), Set())
val batchFiles: BatchFiles = mkBatchFiles(events, destProj, destFileUUId, fetchFileStorage, batchCopy)

val sourceProject = genProjectRef()

batchFiles.copyFiles(
CopyFileSource(sourceProject, NonEmptyList.of(genFileId(sourceProject), genFileId(sourceProject))),
destination
)
}

test("copy rejections should be mapped to a file rejection") {
val events = ListBuffer.empty[Event]
val fetchFileStorage = mockFetchFileStorage(destStorageRef, destStorage.storage, events)
Expand Down

0 comments on commit 39bec21

Please sign in to comment.