<?php

/*
 * This file is part of the PlemiBoomgoBundle.
 *
 * (c) Plemi <dev@plemi.org>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Plemi\Bundle\BoomgoBundle\Tests\Units;

use mageekguy\atoum,
    mageekguy\atoum\factory;

/**
 * Define namespace for unit test
 * 
 * @author David Guyon <dguyon@gmail.com>
 */
abstract class Test extends atoum\test
{
    /**
     * {@inheritdoc}
     */
    public function __construct(factory $factory = null)
    {
        $this->setTestNamespace('\\Tests\\Units');
        parent::__construct($factory);
    }
}
<?php

/*
 * This file is part of the PlemiBoomgoBundle.
 *
 * (c) Plemi <dev@plemi.org>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Plemi\Bundle\BoomgoBundle\Tests\Units;

use mageekguy\atoum;

/**
 * Define namespace for unit test
 * 
 * @author David Guyon <dguyon@gmail.com>
 */
abstract class Test extends atoum\test
{
    /**
     * {@inheritdoc}
     */
    public function __construct(score $score = null, locale $locale = null, adapter $adapter = null)
    {
        $this->setTestNamespace('\\Tests\\Units');
        parent::__construct($score, $locale, $adapter);
    }
}
--- 
+++ 
@@ -11,7 +11,8 @@
 
 namespace Plemi\Bundle\BoomgoBundle\Tests\Units;
 
-use mageekguy\atoum;
+use mageekguy\atoum,
+    mageekguy\atoum\factory;
 
 /**
  * Define namespace for unit test
@@ -23,9 +24,9 @@
     /**
      * {@inheritdoc}
      */
-    public function __construct(score $score = null, locale $locale = null, adapter $adapter = null)
+    public function __construct(factory $factory = null)
     {
         $this->setTestNamespace('\\Tests\\Units');
-        parent::__construct($score, $locale, $adapter);
+        parent::__construct($factory);
     }
 }
Update default unit test class with atoum refactoring
