2017-12-03 20:33:16 +00:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Tainacan\Tests;
|
|
|
|
|
|
|
|
use Tainacan\Tests\Factories;
|
|
|
|
|
|
|
|
class TAINACAN_UnitTestCase extends \WP_UnitTestCase {
|
|
|
|
protected $tainacan_entity_factory;
|
2017-12-04 14:58:19 +00:00
|
|
|
protected $tainacan_field_factory;
|
|
|
|
protected $tainacan_filter_factory;
|
2017-12-03 20:33:16 +00:00
|
|
|
|
|
|
|
public function setUp(){
|
2017-12-04 18:44:48 +00:00
|
|
|
parent::setUp();
|
2017-12-03 20:33:16 +00:00
|
|
|
$this->tainacan_entity_factory = new Factories\Entity_Factory();
|
2017-12-04 14:58:19 +00:00
|
|
|
$this->tainacan_field_factory = new Factories\Field_Factory();
|
|
|
|
$this->tainacan_filter_factory = new Factories\Filter_Factory();
|
2017-12-03 20:33:16 +00:00
|
|
|
}
|
|
|
|
}
|