Skip to content

Commit

Permalink
Remove test on dataset creation with an empty connector as it's not r…
Browse files Browse the repository at this point in the history
…elevant anymore in v4
  • Loading branch information
jreynard-code committed Oct 3, 2024
1 parent 83c08eb commit 3f780c1
Showing 1 changed file with 0 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -169,17 +169,6 @@ class DatasetServiceImplTests {
}
}
}
@Test
fun `createDataset should throw IllegalArgumentException when connector is empty`() {
val dataset = baseDataset()
every {
organizationService.getVerifiedOrganization(ORGANIZATION_ID, PERMISSION_CREATE_CHILDREN)
} returns Organization()
every { datasetRepository.save(any()) } returnsArgument 0
assertThrows<IllegalArgumentException> {
datasetService.createDataset(ORGANIZATION_ID, dataset)
}
}

@Test
fun `createSubDataset create Dataset copy with new id, name, description, parentId & twingraphId`() {
Expand Down

0 comments on commit 3f780c1

Please sign in to comment.