title: PHP Fatal error: Uncaught Error: Call to undefined method PHPUnit\Util\Configuration::getExtensionConfiguration()
body: <p>I am trying to follow the instructions here <a href="https://laravel.com/docs/5.6/testing" rel="nofollow noreferrer">https://laravel.com/docs/5.6/testing</a>. On the Environment section here what I did.</p>
  
  <pre><code>php artisan env --env=testing
  </code></pre>
  
  <p>and then run</p>
  
  <pre><code>phpunit
  </code></pre>
  
  <p>but after that, this message show up</p>
  
  <pre><code>PHP Fatal error:  Uncaught Error: Call to undefined method PHPUnit\Util\Configuration::getExtensionConfiguration() in /mnt/c/projects/www/janicalizdotcom/vendor/phpunit/phpunit/src/TextUI/TestRunner.php:953
  Stack trace:
  #0 /mnt/c/projects/www/janicalizdotcom/vendor/phpunit/phpunit/src/TextUI/TestRunner.php(153): PHPUnit\TextUI\TestRunner-&gt;handleConfiguration(Array)
  #1 /usr/share/php/PHPUnit/TextUI/Command.php(195): PHPUnit\TextUI\TestRunner-&gt;doRun(Object(PHPUnit\Framework\TestSuite), Array, true)
  #2 /usr/share/php/PHPUnit/TextUI/Command.php(148): PHPUnit\TextUI\Command-&gt;run(Array, true)
  #3 /usr/bin/phpunit(34): PHPUnit\TextUI\Command::main()
  #4 {main}
    thrown in /mnt/c/projects/www/janicalizdotcom/vendor/phpunit/phpunit/src/TextUI/TestRunner.php on line 953
  </code></pre>
  
  <p>What is that mean? and what I should do about it?</p>
  
  <p>I have no idea since its the first time running laravel test</p>