GODT-35: New pmapi client and manager using resty

This commit is contained in:
James Houlahan
2021-02-22 18:23:51 +01:00
committed by Jakub
parent 1d538e8540
commit 2284e9ede1
163 changed files with 3333 additions and 8124 deletions

View File

@ -255,10 +255,14 @@ func messagesContainsMessageRow(account *accounts.TestAccount, allMessages []int
matches = false
}
case "read":
unread := 1
var unread pmapi.Boolean
if cell.Value == "true" { //nolint[goconst]
unread = 0
unread = pmapi.False
} else {
unread = pmapi.True
}
if message.Unread != unread {
matches = false
}