Code Coverage
 
Classes and Traits
Functions and Methods
Lines
Total
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
CRAP
100.00% covered (success)
100.00%
4 / 4
Migrator_Client_Test
100.00% covered (success)
100.00%
1 / 1
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
4 / 4
 plugin_header_version_must_be_equal_with_version_constant
100.00% covered (success)
100.00%
1 / 1
1
100.00% covered (success)
100.00%
4 / 4
<?php
/**
 * @coversDefaultClass
 */
class Migrator_Client_Test extends WP_UnitTestCase {
    /**
     * @test
     */
    public function plugin_header_version_must_be_equal_with_version_constant() {
        $plugin_file = WP_MIGRATOR_PATH . '/wp-migrator-client.php';
        $plugin_data = get_plugin_data( $plugin_file );
        $this->assertEquals( $plugin_data['Version'], Migrator_Client::VERSION, 'Plugin version is not equal to Better_Plugin_Core::VERSION value' );
    }
}