Skip to content

Commit 53c46da

Browse files
committed
Fixed documentation order
1 parent 894f315 commit 53c46da

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

README.md

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,22 @@ dontSeeInEmailBCCField($email, $expected)
168168
Checks that the BCC field of $email does not contain $expected
169169

170170
Warning: it is possible for an email to have its BCC field empty, it doesn't mean that another instance of the same email doesn't exist.
171+
```
172+
seeInOpenedEmailPriority($expected)
173+
```
174+
Checks that the priority of the opened email is $expected
175+
```
176+
dontSeeInOpenedEmailPriority($expected)
177+
```
178+
Checks that the priority of the opened email is not $expected
179+
```
180+
seeInEmailPriority($email, $expected)
181+
```
182+
Checks that the priority of $email is $expected
183+
```
184+
dontSeeInEmailPriority($email, $expected)
185+
```
186+
Checks that the priority of $email is not $expected
171187

172188
### Developing For New Testing Services
173189
A base trait defining the interface the test methods require is available in `\Codeception\Email\EmailServiceProvider`. All of these methods need to be overloaded in a new Service Provider. They are protected as they are only used by the testing layer, not by the user himself.
@@ -211,22 +227,6 @@ Returns the string containing the persons included in the BCC field
211227
getEmailRecipients($email)
212228
```
213229
Returns the string containing all of the recipients, such as To, CC and if provided BCC
214-
```
215-
seeInOpenedEmailPriority($expected)
216-
```
217-
Checks that the priority of the opened email is $expected
218-
```
219-
dontSeeInOpenedEmailPriority($expected)
220-
```
221-
Checks that the priority of the opened email is not $expected
222-
```
223-
seeInEmailPriority($email, $expected)
224-
```
225-
Checks that the priority of $email is $expected
226-
```
227-
dontSeeInEmailPriority($email, $expected)
228-
```
229-
Checks that the priority of $email is not $expected
230230

231231
### To Do
232232
While this framework should be sufficient for most email testing scenarios, the remaining features need to be implemented

0 commit comments

Comments
 (0)