Skip to content

Commit

Permalink
Add TestCase base class
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaspaul committed Mar 1, 2018
1 parent 214367b commit 0fcc673
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?php

namespace Tests;

use Mockery;
use Orchestra\Testbench\TestCase as Base;

abstract class TestCase extends Base
{
/**
* @before
*/
protected function setUpMockery()
{
Mockery::getConfiguration()->allowMockingNonExistentMethods(false);
Mockery::getConfiguration()->allowMockingMethodsUnnecessarily(false);
}
}

0 comments on commit 0fcc673

Please sign in to comment.