Skip to content

Commit

Permalink
Moved test class for external provider case to Test/Base directory.
Browse files Browse the repository at this point in the history
  • Loading branch information
stelgenhof committed Nov 22, 2016
1 parent 0b80d41 commit 60c133b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @author Sacha Telgenhof <stelgenhof@gmail.com>
*/

namespace Yasumi\tests;
namespace Yasumi\tests\Base;

use Yasumi\ProviderInterface;

Expand Down
4 changes: 2 additions & 2 deletions tests/Base/YasumiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ public function testCreateWithAbstractClassProvider()
*/
public function testCreateWithAbstractExtension()
{
$class = \Yasumi\tests\YasumiExternalProvider::class;
$instance = Yasumi::create($class, 2016);
$class = YasumiExternalProvider::class;
$instance = Yasumi::create($class, Factory::create()->numberBetween(self::YEAR_LOWER_BOUND, self::YEAR_UPPER_BOUND));
$this->assertInstanceOf($class, $instance);
}

Expand Down

0 comments on commit 60c133b

Please sign in to comment.