We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f5f1997 commit 325b17cCopy full SHA for 325b17c
Test/TranslatorTest.php
@@ -158,10 +158,10 @@ public function testReturnMessageIfExactlyOneStandardRuleIsGiven()
158
159
/**
160
* @dataProvider getNonMatchingMessages
161
- * @expectedException \InvalidArgumentException
162
*/
163
public function testThrowExceptionIfMatchingMessageCannotBeFound($id, $number)
164
{
+ $this->expectException('InvalidArgumentException');
165
$translator = $this->getTranslator();
166
167
$translator->trans($id, ['%count%' => $number]);
0 commit comments