-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
8 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -52,26 +52,26 @@ public function dataProviderTransformUnique(): array | |
], | ||
// 3. An à-la swiftmailer array with one entry | ||
[ | ||
['Testing is great' => '[email protected]'], | ||
['[email protected]' => 'Testing is great'], | ||
new NamedAddress('[email protected]', 'Testing is great') | ||
], | ||
// 4. An array of strings | ||
[ | ||
['[email protected]', '[email protected]'], | ||
new Address('[email protected]') | ||
], | ||
// 4. An array containing an Address object as first value **SHOULD BE** overwritten. | ||
// 4. An array containing an Address object as first value should remain unchanged | ||
[ | ||
[ | ||
'Passing Master' => new Address('[email protected]'), | ||
'[email protected]' => new Address('[email protected]'), | ||
'[email protected]' | ||
], | ||
new NamedAddress('[email protected]', 'Passing Master') | ||
new Address('[email protected]') | ||
], | ||
// 5. An array containing a NamedAddress object as first value **SHOULD NOT BE** overwritten. | ||
// 5. An array containing a NamedAddress object as first value should remain unchanged | ||
[ | ||
[ | ||
'Ignored Senor' => new NamedAddress('[email protected]', 'Toto'), | ||
new NamedAddress('[email protected]', 'Toto'), | ||
'[email protected]' | ||
], | ||
new NamedAddress('[email protected]', 'Toto') | ||
|