Server IP : 192.64.118.117 / Your IP : 3.15.190.49 Web Server : LiteSpeed System : Linux premium56.web-hosting.com 4.18.0-513.24.1.lve.1.el8.x86_64 #1 SMP Thu May 9 15:10:09 UTC 2024 x86_64 User : thecgapy ( 1160) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/thecgapy/www/wp-content/plugins/leads/assets/tests/phpunit/ |
Upload File : |
<?php /** * Tests to test that that testing framework is testing tests. Meta, huh? * * @package wordpress-plugins-tests */ class Tests_Activation 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/leads.php' ) ); } /** * Ensure that the Calls to Action has been installed and activated. */ function test_cta_activated() { $this->assertTrue( is_plugin_active( 'cta/calls-to-action.php' ) ); } } ?>