You appear to be a bot. Output may be restricted
Description
Tests bw_sc_syntaxbw_sc_syntax is called by [bw_codes]
- Currently we need shortcodes/oik-codes.php to be loaded for bw_sc_link
- Links will need to be generalized – changing https://qw/oikcom to
- And in order to test bw_address we also need for oik's shortcodes to have been defined
Usage
Tests_libs_oik_bobbfunc::test_bw_sc_syntax();
Parameters
Returns
voidTO DO
use a test shortcode or a WordPress standard shortcode.Source
File name: oik-libs/tests/test-libs-bobbfunc.phpLines:
1 to 10 of 10
function test_bw_sc_syntax() { do_action( "oik_add_shortcodes" ); oik_require( "shortcodes/oik-codes.php" ); bw_sc_syntax( "bw_address" ); $html = bw_ret(); $html = str_replace( oik_get_plugins_server(), "https://qw/src", $html ); //$this->generate_expected_file( $html ); $this->assertArrayEqualsFile( $html ); }View on GitHub