Skip to content

Commit

Permalink
test_waku_archive: rename tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivansete-status committed Dec 1, 2023
1 parent a7213c4 commit bc4620e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions tests/waku_archive/test_waku_archive.nim
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import

suite "Waku Archive - message handling":

test "it should driver a valid and non-ephemeral message":
test "it should archive a valid and non-ephemeral message":
## Setup
let driver = newSqliteArchiveDriver()
let archive = newWakuArchive(driver)
Expand All @@ -36,7 +36,7 @@ suite "Waku Archive - message handling":
check:
(waitFor driver.getMessagesCount()).tryGet() == 1

test "it should not driver an ephemeral message":
test "it should not archive ephemeral messages":
## Setup
let driver = newSqliteArchiveDriver()
let archive = newWakuArchive(driver)
Expand All @@ -58,7 +58,7 @@ suite "Waku Archive - message handling":
check:
(waitFor driver.getMessagesCount()).tryGet() == 2

test "it should driver a message with no sender timestamp":
test "it should not archive a message with no sender timestamp":
## Setup
let driver = newSqliteArchiveDriver()
let archive = newWakuArchive(driver)
Expand All @@ -74,7 +74,7 @@ suite "Waku Archive - message handling":
check:
(waitFor driver.getMessagesCount()).tryGet() == 0

test "it should not driver a message with a sender time variance greater than max time variance (future)":
test "it should not archive a message with a sender time variance greater than max time variance (future)":
## Setup
let driver = newSqliteArchiveDriver()
let archive = newWakuArchive(driver)
Expand All @@ -93,7 +93,7 @@ suite "Waku Archive - message handling":
check:
(waitFor driver.getMessagesCount()).tryGet() == 0

test "it should not driver a message with a sender time variance greater than max time variance (past)":
test "it should not archive a message with a sender time variance greater than max time variance (past)":
## Setup
let driver = newSqliteArchiveDriver()
let archive = newWakuArchive(driver)
Expand Down

0 comments on commit bc4620e

Please sign in to comment.