title: BitBucket pipeline fails on test cases
body: <p>I'm having hard time to configure a BitBucket pipeline to deploy a CakePHP application to a hosting server. 
  Reading some tutorials I've ended up with this pipeline:</p>
  
  <pre><code>image: edbizarro/bitbucket-pipelines-php7
  
  pipelines:
    branches:
      master:
        - step:
            caches:
              - composer
            script:
              - composer install --no-interaction --no-progress --prefer-dist
              - composer test
              - composer deploy-to-production
  </code></pre>
  
  <p>but it always fails:</p>
  
  <ul>
  <li>Build setup -> OK</li>
  <li>composer install -> OK</li>
  <li>composer test -> FAIL</li>
  </ul>
  
  <blockquote>
    <p>+composer test
    phpunit --colors=always
    Deprecated Error: Plugin::load() is deprecated. Use Application::addPlugin() instead. This method will be removed in 4.0.0. - /opt/atlassian/pipelines/agent/build/config/bootstrap.php, line: 179
     You can disable deprecation warnings by setting <code>Error.errorLevel</code> to <code>E_ALL &amp; ~E_USER_DEPRECATED</code> in your config/app.php. in [/opt/atlassian/pipelines/agent/build/vendor/cakephp/cakephp/src/Core/functions.php, line 311]</p>
    
    <p>PHPUnit 6.5.14 by Sebastian Bergmann and contributors.</p>
    
    <p>Exception: Unable to insert fixtures for "App\Test\TestCase\Controller\CustomersControllerTest" test case. SQLSTATE[HY000] [2002] No such file or directory in [/opt/atlassian/pipelines/agent/build/vendor/cakephp/cakephp/src/TestSuite/Fixture/FixtureManager.php, line 380]
    Script phpunit --colors=always handling the test event returned with error code 244</p>
  </blockquote>
  
  <p>I cannot <code>ls</code> the virtual remote folders but I can mine... so I inspected <code>App\Test\TestCase\Controller\CustomersControllerTest</code>:</p>
  
  <pre><code>&lt;?php
  namespace App\Test\TestCase\Controller;
  
  use App\Controller\CustomersController;
  use Cake\TestSuite\IntegrationTestTrait;
  use Cake\TestSuite\TestCase;
  
  class CustomersControllerTest extends TestCase
  {
      use IntegrationTestTrait;
  
      public $fixtures = [
          'app.Customers',
          'app.Orders'
      ];
  
      public function testIndex()
      {
          $this-&gt;markTestIncomplete('Not implemented yet.');
      }
  
      public function testView()
      {
          $this-&gt;markTestIncomplete('Not implemented yet.');
      }
  
      public function testAdd()
      {
          $this-&gt;markTestIncomplete('Not implemented yet.');
      }
  
      public function testEdit()
      {
          $this-&gt;markTestIncomplete('Not implemented yet.');
      }
  
      public function testDelete()
      {
          $this-&gt;markTestIncomplete('Not implemented yet.');
      }
  }
  </code></pre>
  
  <p>Because I'm not using tests, can I (safely) avoid the <code>composer test</code> step?</p>
  
  <p>By the way, on the hosting server the PHP version is 5.6 while in the pipeline's image is specified version 7. Might this lead to a problem?</p>