Skip to content
Snippets Groups Projects
TestCase.php 577 B
Newer Older
  • Learn to ignore specific revisions
  • Josh Pollock's avatar
    Josh Pollock committed
    <?php
    
    
    namespace calderawp\CalderaFormsQuery\Tests\Unit;
    
    //Import PHP unit test case.
    //Must be aliased to avoid having two classes of same name in scope.
    
    use calderawp\CalderaFormsQuery\SelectQueries;
    
    Josh Pollock's avatar
    Josh Pollock committed
    use calderawp\CalderaFormsQuery\Tests\Traits\HasFactories;
    
    Josh Pollock's avatar
    Josh Pollock committed
    use PHPUnit\Framework\TestCase as FrameworkTestCase;
    
    /**
     * Class TestCase
     *
     * Default test case for all unit tests
     * @package CalderaLearn\RestSearch\Tests\Unit
     */
    abstract class TestCase extends FrameworkTestCase
    {
    
    	//Factories go in this trait so they are share with integration tests
    
    Josh Pollock's avatar
    Josh Pollock committed
    	use HasFactories;
    
    Josh Pollock's avatar
    Josh Pollock committed
    }