fix TestStoreQueryWithWrongContentTopic

This commit is contained in:
aya 2025-03-19 10:54:22 +02:00
parent 2690e05f5a
commit 4d2c8b7cfd

View File

@ -658,7 +658,6 @@ func TestStoreQueryWithoutData(t *testing.T) {
Debug("Test successfully verified that store query returns only message hashes when IncludeData is false")
}
/*
func TestStoreQueryWithWrongContentTopic(t *testing.T) {
Debug("Starting test to verify store query fails when using an incorrect content topic and an old timestamp")
@ -715,10 +714,10 @@ func TestStoreQueryWithoutData(t *testing.T) {
}
storedmsgs, _ := node3.GetStoredMessages(node2, storeQueryRequest)
require.Nil(t, (*storedmsgs.Messages)[0], "Expected no messages to be returned for incorrect content topic and timestamp")
require.Empty(t, (*storedmsgs.Messages), "Expected no messages to be returned for incorrect content topic and timestamp")
Debug("Test successfully verified that store query fails when using an incorrect content topic and an old timestamp")
}
*/
func TestCheckStoredMSGsEphemeralTrue(t *testing.T) {
Debug("Starting test to verify ephemeral messages are not stored")
@ -823,7 +822,6 @@ func TestCheckStoredMSGsEphemeralFalse(t *testing.T) {
Debug("Test finished successfully ")
}
/*
func TestCheckLegacyStore(t *testing.T) {
Debug("Starting test ")
@ -872,7 +870,6 @@ func TestCheckLegacyStore(t *testing.T) {
Debug("Test finished successfully ")
}
*/
func TestStoredMessagesWithVDifferentPayloads(t *testing.T) {
Debug("Starting test ")