Skip to content

Commit

Permalink
warning
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasCAI-mlv committed Jul 31, 2024
1 parent 52751ee commit a45754e
Showing 1 changed file with 1 addition and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -144,19 +144,12 @@ void createDryRun() {
when(namespaceService.findByName(any())).thenReturn(Optional.of(ns));

var response = roleBindingController.apply("test", rolebinding, true);
RoleBinding actual = response.body();
assertEquals("created", response.header("X-Ns4kafka-Result"));
verify(roleBindingService, never()).create(rolebinding);
}

@Test
void deleteSucess() {
Namespace ns = Namespace.builder()
.metadata(Metadata.builder()
.name("test")
.cluster("local")
.build())
.build();
void deleteSuccess() {
RoleBinding rolebinding = RoleBinding.builder()
.metadata(Metadata.builder()
.name("test.rolebinding")
Expand Down

0 comments on commit a45754e

Please sign in to comment.