Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Mod: autoloading by the good way
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikael Randy committed May 9, 2014
1 parent eedc227 commit 56812fa
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
14 changes: 14 additions & 0 deletions .bootstrap.atoum.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

/*
This file will automatically be included before EACH test if -bf/--bootstrap-file argument is not used.
Use it to initialize the tested code, add autoloader, require mandatory file, or anything that needs to be done before EACH test.
More information on documentation:
[en] http://docs.atoum.org/en/chapter3.html#Bootstrap-file
[fr] http://docs.atoum.org/fr/chapter3.html#Fichier-de-bootstrap
*/

// composer
require __DIR__ . '/vendor/autoload.php';
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<?php
namespace M6Web\Bundle\WSClientBundle\Tests\Units\Adapter\Client;

require_once __DIR__.'/../../../../../../../../vendor/autoload.php';
require_once 'FakeGuzzleClient.php';

use mageekguy\atoum\test;
use M6Web\Bundle\WSClientBundle\Adapter\Client\GuzzleClientAdapter as BaseGuzzleClientAdapter;
use Guzzle\Http\Client;
Expand Down

0 comments on commit 56812fa

Please sign in to comment.