Skip to content

Commit 44615aa

Browse files
committed
Update expected exception message
Because the annotation was incorrect, this was probably never correctly tested.
1 parent cf0b4f3 commit 44615aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/FileTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ public function testResourceToResourceWithPassword($srcFile)
151151

152152
/**
153153
* @expectedException \Defuse\Crypto\Exception\WrongKeyOrModifiedCiphertextException
154-
* @expectedExceptionMessage Ciphertext file has a bad magic number.
154+
* @expectedExceptionMessage Input file is too small to have been created by this library.
155155
*/
156156
public function testDecryptBadMagicNumber()
157157
{

0 commit comments

Comments
 (0)