File tree 3 files changed +9
-4
lines changed
3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 114
114
*
115
115
* ## Parts
116
116
*
117
- * * `services`: Symfony dependency injection container (DIC)
117
+ * * `services`: Includes methods related to the Symfony dependency injection container (DIC):
118
+ * * grabService
119
+ * * persistService
120
+ * * persistPermanentService
121
+ * * unpersistService
118
122
*
119
123
* See [WebDriver module](https://codeception.com/docs/modules/WebDriver#Loading-Parts-from-other-Modules)
120
124
* for general information on how to load parts of a framework module.
Original file line number Diff line number Diff line change @@ -10,8 +10,6 @@ trait MailerAssertionsTrait
10
10
{
11
11
/**
12
12
* Checks that no email was sent. This is an alias for seeEmailIsSent(0).
13
- *
14
- * @part email
15
13
*/
16
14
public function dontSeeEmailIsSent (): void
17
15
{
Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ trait ServicesAssertionsTrait
18
18
* $em = $I->grabService('doctrine');
19
19
* ```
20
20
*
21
+ * @part services
21
22
* @param string $service
22
23
* @return mixed
23
- * @part services
24
24
*/
25
25
public function grabService (string $ service )
26
26
{
@@ -36,6 +36,7 @@ public function grabService(string $service)
36
36
/**
37
37
* Get service $serviceName and add it to the lists of persistent services.
38
38
*
39
+ * @part services
39
40
* @param string $serviceName
40
41
*/
41
42
public function persistService (string $ serviceName ): void
@@ -51,6 +52,7 @@ public function persistService(string $serviceName): void
51
52
* Get service $serviceName and add it to the lists of persistent services,
52
53
* making that service persistent between tests.
53
54
*
55
+ * @part services
54
56
* @param string $serviceName
55
57
*/
56
58
public function persistPermanentService (string $ serviceName ): void
@@ -66,6 +68,7 @@ public function persistPermanentService(string $serviceName): void
66
68
/**
67
69
* Remove service $serviceName from the lists of persistent services.
68
70
*
71
+ * @part services
69
72
* @param string $serviceName
70
73
*/
71
74
public function unpersistService (string $ serviceName ): void
You can’t perform that action at this time.
0 commit comments