| 1 |
<?php |
| 2 |
|
| 3 |
namespace Vimeography_Unit_Tests; |
| 4 |
|
| 5 |
class Tests_Vimeography_Init extends Vimeography_UnitTestCase{ |
| 6 |
|
| 7 |
protected $_object; |
| 8 |
|
| 9 |
/** |
| 10 |
* Runs before every test. |
| 11 |
* Think of it as emulating what would usually happen once the plugin is activated on a Wordpress site. |
| 12 |
* |
| 13 |
*/ |
| 14 |
public function setUp() |
| 15 |
{ |
| 16 |
parent::setUp(); |
| 17 |
$this->_object = new \Vimeography_Init; |
| 18 |
} |
| 19 |
|
| 20 |
public function test_true_is_true() { |
| 21 |
$this->assertTrue(true); |
| 22 |
} |
| 23 |
|
| 24 |
// public function test_vimeography_admin_plugins_instance() { |
| 25 |
// $this->assertClassHasStaticAttribute( 'instance', 'Vimeography_Admin_Plugins' ); |
| 26 |
// } |
| 27 |
|
| 28 |
// public function test_plugin_action_links_hook_was_added() |
| 29 |
// { |
| 30 |
// $this->assertGreaterThan(0, has_filter('plugin_action_links', array($this->_object, 'vimeography_filter_plugin_actions') ) ); |
| 31 |
// } |
| 32 |
|
| 33 |
// public function tearDown() { |
| 34 |
|
| 35 |
// } |
| 36 |
|
| 37 |
} |
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|