From bc81356d53cebba3e822c9393c31a3c1e168bf31 Mon Sep 17 00:00:00 2001 From: James Houlahan Date: Wed, 28 Oct 2020 17:00:42 +0100 Subject: [PATCH] test: update feature file to use new "seq" command --- test/features/bridge/imap/message/update_spam.feature | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/features/bridge/imap/message/update_spam.feature b/test/features/bridge/imap/message/update_spam.feature index f2c127da..e9ab61b1 100644 --- a/test/features/bridge/imap/message/update_spam.feature +++ b/test/features/bridge/imap/message/update_spam.feature @@ -4,14 +4,14 @@ Feature: IMAP update messages in Spam folder # Messages are inserted in opposite way to keep increasing ID. # Sequence numbers are then opposite than listed above. And there are messages in mailbox "Spam" for "user" - | from | to | subject | body | read | starred | deleted | - | john.doe@mail.com | user@pm.me | foo | hello | false | false | false | - | jane.doe@mail.com | name@pm.me | bar | world | true | true | false | + | id | from | to | subject | body | read | starred | deleted | + | 1 | john.doe@mail.com | user@pm.me | foo | hello | false | false | false | + | 2 | jane.doe@mail.com | name@pm.me | bar | world | true | true | false | And there is IMAP client logged in as "user" And there is IMAP client selected in "Spam" Scenario: Mark message as read only - When IMAP client marks message "2" with "\Seen" + When IMAP client marks message seq "1" with "\Seen" Then IMAP response is "OK" And message "1" in "Spam" for "user" is marked as read And message "1" in "Spam" for "user" is marked as unstarred