You appear to be a bot. Output may be restricted
Description
Test for a new version of the plugin.Note: The plugin must be installed, and recognized by WordPress, but does not have to be active. If the plugin is not installed and recognised by WordPress then the nonce will not be created properly.
Usage
Tests_libs_oik_plugins::test_oik_plugins_check_bb_BB_new_version();
Parameters
Returns
voidTO DO
Find the URL name automatically, instead of https://s.b/oikcomSource
File name: oik-libs/tests/test-libs-oik_plugins.phpLines:
1 to 13 of 13
function test_oik_plugins_check_bb_BB_new_version() { oik_update::oik_register_plugin_server( oik_path( "oik-fum.php", "oik-fum" ), "https://s.b/oikcom" ); $this->switch_to_locale( "bb_BB" ); $_REQUEST['check_plugin'] = "oik-fum"; $_REQUEST['check_version'] = "0.0.0"; $html = bw_ret( oik_plugins_check() ); $this->assertNotNull( $html ); //$this->generate_expected_file( $html ); $html = $this->replace_admin_url( $html ); $html = $this->replace_created_nonce( $html, "upgrade-plugin_oik-fum/oik-fum.php" ); $this->assertArrayEqualsFile( $html ); $this->switch_to_locale( "en_GB" ); }View on GitHub