Permalink
Browse files

fail when detecting risky tests

  • Loading branch information...
xabbuh committed Apr 12, 2017
1 parent 070eaa8 commit d924753999dcb707c905feaa67040a6a894a5efc
Showing with 4 additions and 0 deletions.
  1. +2 −0 Tests/Locale/LocaleTest.php
  2. +2 −0 phpunit.xml.dist
@@ -153,6 +153,8 @@ public function testSetDefault()
public function testSetDefaultAcceptsEn()
{
$this->call('setDefault', 'en');
$this->assertSame('en', $this->call('getDefault'));
}
protected function call($methodName)
@@ -5,6 +5,8 @@
backupGlobals="false"
colors="true"
bootstrap="vendor/autoload.php"
failOnRisky="true"
failOnWarning="true"
>
<php>
<ini name="error_reporting" value="-1" />

0 comments on commit d924753

Please sign in to comment.