forked from Brandit360/leads
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
48 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?php | ||
|
||
/** | ||
* Tests to test that that testing framework is testing tests. Meta, huh? | ||
* | ||
* @package wordpress-plugins-tests | ||
*/ | ||
class WP_Test_WordPress_Plugin_Tests extends WP_UnitTestCase { | ||
|
||
/** | ||
* Run a simple test to ensure that the tests are running | ||
*/ | ||
function test_tests() { | ||
$this->assertTrue( true ); | ||
} | ||
|
||
/** | ||
* Ensure landing pages is active | ||
*/ | ||
function test_lading_pages_activated() { | ||
$this->assertTrue( is_plugin_active( 'landing-pages/landing-pages.php' ) ); | ||
} | ||
|
||
/** | ||
* Ensure that the Leads has been installed and activated. | ||
*/ | ||
function test_leads_activated() { | ||
$this->assertTrue( is_plugin_active( 'leads/wordpress-leads.php' ) ); | ||
} | ||
|
||
/** | ||
* Ensure that the Calls to Action has been installed and activated. | ||
*/ | ||
function test_cta_activated() { | ||
$this->assertTrue( is_plugin_active( 'cta/wordpress-cta.php' ) ); | ||
} | ||
|
||
} | ||
|
||
?> |