Skip to content

Commit

Permalink
minor fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Alessio <[email protected]>
  • Loading branch information
slux83 committed Feb 14, 2024
1 parent ca8f0e2 commit ae4a24c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,6 @@ else if (receivedTokens)
break;
case TX_INTERNAL:
messageBuilder.append(EmojiParser.parseToUnicode(":repeat: "));
fundsTokenText += " (internal)";
break;
}

Expand Down
2 changes: 2 additions & 0 deletions src/test/java/com/devpool/thothBot/IntegrationTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -303,10 +303,12 @@ public void scheduledNotificationsTest() throws Exception {
String message = retrieveMessageByString(allMessages, "stake1u8uekde7k8x8n9lh0zjnhymz66sqdpa0ms02z8cshajptac0d3j32",
"3af819e5583709c9e7b5b84614c60015b9bf10deb2b20756118cba707e531e53");
Assertions.assertTrue(message.contains("Fee 0.18"));
Assertions.assertTrue(message.contains("Internal Funds"));

// TX internal, pool delegation
message = retrieveMessageByString(allMessages, "stake1u8lffpd48ss4f2pe0rhhj4n2edkgwl38scl09f9f43y0azcnhxhwr",
"3f31f56afbfa4c4bdd7c33d1f1d4ae0cedece2fa2bfb2934b914ea5e0dfb0142");
Assertions.assertTrue(message.contains("Internal Funds"));
Assertions.assertTrue(message.contains("[DEV]"));

// TX sent funds, with message
Expand Down

0 comments on commit ae4a24c

Please sign in to comment.