File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 114114 *
115115 * ## Parts
116116 *
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
118122 *
119123 * See [WebDriver module](https://codeception.com/docs/modules/WebDriver#Loading-Parts-from-other-Modules)
120124 * 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
1010{
1111 /**
1212 * Checks that no email was sent. This is an alias for seeEmailIsSent(0).
13- *
14- * @part email
1513 */
1614 public function dontSeeEmailIsSent (): void
1715 {
Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ trait ServicesAssertionsTrait
1818 * $em = $I->grabService('doctrine');
1919 * ```
2020 *
21+ * @part services
2122 * @param string $service
2223 * @return mixed
23- * @part services
2424 */
2525 public function grabService (string $ service )
2626 {
@@ -36,6 +36,7 @@ public function grabService(string $service)
3636 /**
3737 * Get service $serviceName and add it to the lists of persistent services.
3838 *
39+ * @part services
3940 * @param string $serviceName
4041 */
4142 public function persistService (string $ serviceName ): void
@@ -51,6 +52,7 @@ public function persistService(string $serviceName): void
5152 * Get service $serviceName and add it to the lists of persistent services,
5253 * making that service persistent between tests.
5354 *
55+ * @part services
5456 * @param string $serviceName
5557 */
5658 public function persistPermanentService (string $ serviceName ): void
@@ -66,6 +68,7 @@ public function persistPermanentService(string $serviceName): void
6668 /**
6769 * Remove service $serviceName from the lists of persistent services.
6870 *
71+ * @part services
6972 * @param string $serviceName
7073 */
7174 public function unpersistService (string $ serviceName ): void
You can’t perform that action at this time.
0 commit comments