Skip to content

Commit 6be648a

Browse files
Standardize "@example.com" as domain in documentation (#124)
1 parent c2c94c9 commit 6be648a

File tree

4 files changed

+6
-8
lines changed

4 files changed

+6
-8
lines changed

src/Codeception/Module/Symfony.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
* - Doctrine2:
111111
* depends: Symfony
112112
* - WebDriver:
113-
* url: http://your-url.com
113+
* url: http://example.com
114114
* browser: firefox
115115
* ```
116116
*

src/Codeception/Module/Symfony/BrowserAssertionsTrait.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public function seePageRedirectsTo(string $page, string $redirectsTo): void
8989
* ```php
9090
* <?php
9191
* $I->submitSymfonyForm('login_form', [
92-
* '[email]' => 'john_doe@gmail.com',
92+
* '[email]' => 'john_doe@example.com',
9393
* '[password]' => 'secretForest'
9494
* ]);
9595
* ```
@@ -110,4 +110,4 @@ public function submitSymfonyForm(string $name, array $fields): void
110110

111111
$this->submitForm($selector, $params, $button);
112112
}
113-
}
113+
}

src/Codeception/Module/Symfony/MailerAssertionsTrait.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public function seeEmailIsSent(int $expectedCount = 1): void
4848
* <?php
4949
* $email = $I->grabLastSentEmail();
5050
* $address = $email->getTo()[0];
51-
* $I->assertSame('john_doe@user.com', $address->getAddress());
51+
* $I->assertSame('john_doe@example.com', $address->getAddress());
5252
* ```
5353
*
5454
* @return \Symfony\Component\Mime\Email|null
@@ -72,8 +72,6 @@ public function grabLastSentEmail(): ?Email
7272
* ```php
7373
* <?php
7474
* $emails = $I->grabSentEmails();
75-
* $address = $emails[0]->getTo()[0];
76-
* $I->assertSame('john_doe@user.com', $address->getAddress());
7775
* ```
7876
*
7977
* @return \Symfony\Component\Mime\Email[]

src/Codeception/Module/Symfony/SessionAssertionsTrait.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ trait SessionAssertionsTrait
2323
* ```php
2424
* <?php
2525
* $user = $I->grabEntityFromRepository(User::class, [
26-
* 'email' => 'john_doe@gmail.com'
26+
* 'email' => 'john_doe@example.com'
2727
* ]);
2828
* $I->amLoggedInAs($user);
2929
* ```
@@ -168,4 +168,4 @@ protected function grabSessionService(): SessionInterface
168168
{
169169
return $this->grabService('session');
170170
}
171-
}
171+
}

0 commit comments

Comments
 (0)