public function setUp() { // before parent::setUp(); // your set up methods here $this->root_dir = dirname(dirname(dirname(__FILE__))); }
public function setUp() { // before parent::setUp(); // your set up methods here Test::setUp(); }
public function setUp() { // before parent::setUp(); // your set up methods here $this->smarty = $this->prophesize('Smarty'); }
public function setUp() { // set a permalink structure as soon as possible $this->set_permalink_structure('/%year%/%monthnum%/%day%/%postname%/'); parent::setUp(); $this->post_example_settings = array('post_author' => 3, 'post_title' => 'Test event', 'post_content' => 'This is event content!', 'post_status' => 'publish', 'EventAllDay' => false, 'EventHideFromUpcoming' => true, 'EventOrganizerID' => 5, 'EventVenueID' => 8, 'EventShowMapLink' => true, 'EventShowMap' => true, 'EventStartDate' => '2012-01-01', 'EventEndDate' => '2012-01-03', 'EventStartHour' => '01', 'EventStartMinute' => '15', 'EventStartMeridian' => 'am', 'EventEndHour' => '03', 'EventEndMinute' => '25', 'EventEndMeridian' => 'pm'); }
public function setUp() { // before parent::setUp(); // your set up methods here date_default_timezone_set('Europe/Rome'); // DST on march 27th }
public function setUp() { // before parent::setUp(); // your set up methods here $this->types = 'some-commment-type'; $this->context = $this->prophesize('idlikethis_Comments_TableContextInterface'); }
public function setUp() { // before parent::setUp(); // your set up methods here $this->render_engine = $this->prophesize('idlikethis_Templates_RenderEngineInterface'); $this->text_provider = $this->prophesize('idlikethis_Texts_ShortcodeTextProviderInterface'); $this->context = $this->prophesize('idlikethis_Contexts_ShortcodeContextInterface'); }
public function setUp() { // before parent::setUp(); // your set up methods here Test::setUp(); $this->plugin = $this->prophesize('idlikethis_Plugin'); $this->data_provider = $this->prophesize('idlikethis_Scripts_BackEndDataProviderInterface'); }
public function setUp() { // before parent::setUp(); // your set up methods here $this->commments_repository = $this->prophesize(VotesRepositoryInterface::class); $this->render_engine = $this->prophesize(RenderEngineInterface::class); $this->texts_provider = $this->prophesize(VotesMetaBoxTextProviderInterface::class); }
public function setUp() { // before parent::setUp(); // your set up methods here $this->comments_repository = $this->prophesize('idlikethis_Repositories_VotesRepositoryInterface'); $this->rendering_engine = $this->prophesize('idlikethis_Templates_RenderEngineInterface'); $this->texts_provider = $this->prophesize('idlikethis_Texts_PostControlMetaBoxTextsProviderInterface'); $this->context = $this->prophesize('idlikethis_Contexts_MetaBoxContextInterface'); }
public function setUp() { parent::setUp(); }