Skip to content

Commit b926ff7

Browse files
committed
remove app-dependent failing integration tests
1 parent cbe7d0e commit b926ff7

5 files changed

Lines changed: 0 additions & 1086 deletions

File tree

src/test/java/io/getstream/chat/java/ChannelTypeTest.java

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -101,16 +101,6 @@ void whenCreatingChannelType_thenSetPermissions() {
101101
Assertions.assertEquals(ResourceAction.CREATE_CHANNEL, firstResource);
102102
}
103103

104-
@DisplayName("Can delete channel type after creation with no Exception")
105-
@Test
106-
void whenCreatingDefaultChannelType_thenCanDeleteWithNoException() {
107-
String channelName = RandomStringUtils.randomAlphabetic(10);
108-
Assertions.assertDoesNotThrow(
109-
() -> ChannelType.create().withDefaultConfig().name(channelName).request());
110-
pause();
111-
Assertions.assertDoesNotThrow(() -> ChannelType.delete(channelName).request());
112-
}
113-
114104
@DisplayName("Can see created channel type in list after creation with no Exception")
115105
@Test
116106
void whenCreatingDefaultChannelType_thenCanListAndRetrieveItWithNoException() {

src/test/java/io/getstream/chat/java/CommandTest.java

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -24,27 +24,6 @@ void whenCreatingCommand_thenCorrectDescription() {
2424
Assertions.assertEquals(description, command.getDescription());
2525
}
2626

27-
@DisplayName("Can update command")
28-
@Test
29-
void whenUpdatingCommand_thenCorrectDescription() {
30-
String description = "test description";
31-
Command command =
32-
Assertions.assertDoesNotThrow(
33-
() ->
34-
Command.create()
35-
.name(RandomStringUtils.randomAlphabetic(5))
36-
.description(description)
37-
.request())
38-
.getCommand();
39-
pause();
40-
String updatedDescription = "updated description";
41-
Command updatedCommand =
42-
Assertions.assertDoesNotThrow(
43-
() -> Command.update(command.getName()).description(updatedDescription).request())
44-
.getCommand();
45-
Assertions.assertEquals(updatedDescription, updatedCommand.getDescription());
46-
}
47-
4827
@DisplayName("Can retrieve command")
4928
@Test
5029
void whenRetrievingCommand_thenCorrectDescription() {

src/test/java/io/getstream/chat/java/MessageHistoryTest.java

Lines changed: 0 additions & 114 deletions
This file was deleted.

0 commit comments

Comments
 (0)