Skip to content

Commit 031073f

Browse files
author
tmcdonnell2
committed
Update to SlashCommandEducatorTest to switch test condition. Revert changes to RawReminderTestHelper.
1 parent f58fec1 commit 031073f

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

application/src/test/java/org/togetherjava/tjbot/features/basic/SlashCommandEducatorTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,7 @@ void ignoresOtherMessages(String message) {
6161
}
6262

6363
private static Stream<String> provideMessageCommands() {
64-
return Stream.of("!foo", ".foo", "?foo", ".test", "!whatever", "!this is a test",
65-
"this is a test;");
64+
return Stream.of("!foo", ".foo", "?foo", ".test", "!whatever", "!this is a test");
6665
}
6766

6867
private static Stream<String> provideOtherMessages() {

application/src/test/java/org/togetherjava/tjbot/features/reminder/RawReminderTestHelper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
import static org.togetherjava.tjbot.db.generated.tables.PendingReminders.PENDING_REMINDERS;
1515

1616
final class RawReminderTestHelper {
17-
private final Database database;
18-
private final JdaTester jdaTester;
17+
private Database database;
18+
private JdaTester jdaTester;
1919

2020
RawReminderTestHelper(Database database, JdaTester jdaTester) {
2121
this.database = database;

0 commit comments

Comments
 (0)