Skip to content

Commit 325b17c

Browse files
Merge branch '3.4' into 4.3
* 3.4: Fix tests Fix deprecated phpunit annotation
1 parent f5f1997 commit 325b17c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Test/TranslatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,10 +158,10 @@ public function testReturnMessageIfExactlyOneStandardRuleIsGiven()
158158

159159
/**
160160
* @dataProvider getNonMatchingMessages
161-
* @expectedException \InvalidArgumentException
162161
*/
163162
public function testThrowExceptionIfMatchingMessageCannotBeFound($id, $number)
164163
{
164+
$this->expectException('InvalidArgumentException');
165165
$translator = $this->getTranslator();
166166

167167
$translator->trans($id, ['%count%' => $number]);

0 commit comments

Comments
 (0)