You appear to be a bot. Output may be restricted
Description
Tests bw_sc_example
- Here we're testing the example for the oik shortcode as well as bw_address
- wpautop() can create invalid HTML for the bw_address example.
- We need to disable wpautop() processing for "the_content" filtering.
- See also notes for test_bw_sc_syntax
Usage
Tests_libs_oik_bobbfunc::test_bw_sc_example();
Parameters
Returns
void
Source
File name: oik-libs/tests/test-libs-bobbfunc.php
Lines:
1 to 11 of 11
function test_bw_sc_example() { //remove_filter( 'the_content', 'bw_wpautop', 99 ); $this->update_options(); bw_sc_example(); bw_sc_example( "bw_address" ); $html = bw_ret(); $html = str_replace( oik_get_plugins_server(), "https://qw/src", $html ); //$this->generate_expected_file( $html ); $this->assertArrayEqualsFile( $html ); }