Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Update default unit test class with atoum refactoring

  • Loading branch information...
commit abaefd41c06df125d7853dec5bca4cdf9bfd22c0 1 parent f1a80dc
@dguyon dguyon authored
Showing with 21 additions and 3 deletions.
  1. +21 −3 tests/Boomgo/Tests/Units/Test.php
View
24 tests/Boomgo/Tests/Units/Test.php
@@ -1,14 +1,32 @@
<?php
+/**
+ * This file is part of the Boomgo PHP ODM for MongoDB.
+ *
+ * http://boomgo.org
+ * https://github.com/Retentio/Boomgo
+ *
+ * (c) Ludovic Fleury <ludo.fleury@gmail.com>
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
+ */
+
namespace Boomgo\Tests\Units;
-use mageekguy\atoum\test as AtoumTest;
+use mageekguy\atoum\test as AtoumTest,
+ mageekguy\atoum\factory;
+/**
+ * Rewrite default namespace for atoum
+ *
+ * @author David Guyon <dguyon@gmail.com>
+ */
abstract class Test extends AtoumTest
{
- 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);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.