-
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sebastianbergmann/phpunit#5062 Signed-off-by: Vitor Mattos <[email protected]>
- Loading branch information
1 parent
fb18945
commit 18e1f0b
Showing
5 changed files
with
8 additions
and
9 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
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
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 |
---|---|---|
|
@@ -119,7 +119,7 @@ public function testCanDeleteRequestSignatureWhenDocumentAlreadySigned() { | |
['getSigned', [], '2021-01-01 01:01:01'], | ||
])); | ||
$this->fileUserMapper->method('getByFileUuid')->will($this->returnValue([$fileUser])); | ||
$this->expectErrorMessage('Document already signed'); | ||
$this->expectExceptionMessage('Document already signed'); | ||
$this->getService()->canDeleteRequestSignature(['uuid' => 'valid']); | ||
} | ||
|
||
|
@@ -139,7 +139,7 @@ public function testCanDeleteRequestSignatureWhenNoSignatureWasRequested() { | |
['getEmail', [], '[email protected]'] | ||
])); | ||
$this->fileUserMapper->method('getByFileUuid')->will($this->returnValue([$fileUser])); | ||
$this->expectErrorMessage('No signature was requested to %'); | ||
$this->expectExceptionMessage('No signature was requested to %'); | ||
$this->getService()->canDeleteRequestSignature([ | ||
'uuid' => 'valid', | ||
'users' => [ | ||
|
@@ -161,7 +161,7 @@ public function testNotifyCallback() { | |
} | ||
|
||
public function testSignWithFileNotFound() { | ||
$this->expectErrorMessage('File not found'); | ||
$this->expectExceptionMessage('File not found'); | ||
|
||
$this->createUser('username', 'password'); | ||
|
||
|