Skip to content

Commit 3f780c1

Browse files
committed
Remove test on dataset creation with an empty connector as it's not relevant anymore in v4
1 parent 83c08eb commit 3f780c1

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

dataset/src/test/kotlin/com/cosmotech/dataset/service/DatasetServiceImplTests.kt

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -169,17 +169,6 @@ class DatasetServiceImplTests {
169169
}
170170
}
171171
}
172-
@Test
173-
fun `createDataset should throw IllegalArgumentException when connector is empty`() {
174-
val dataset = baseDataset()
175-
every {
176-
organizationService.getVerifiedOrganization(ORGANIZATION_ID, PERMISSION_CREATE_CHILDREN)
177-
} returns Organization()
178-
every { datasetRepository.save(any()) } returnsArgument 0
179-
assertThrows<IllegalArgumentException> {
180-
datasetService.createDataset(ORGANIZATION_ID, dataset)
181-
}
182-
}
183172

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

0 commit comments

Comments
 (0)