Changeset 58594 for trunk/tests/phpunit/tests/interactivity-api/wpInteractivityAPI-wp-router-region.php
- Timestamp:
- 06/28/2024 03:45:08 PM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/interactivity-api/wpInteractivityAPI-wp-router-region.php
r57836 r58594 89 89 $new_html = $this->interactivity->process_directives( $html ); 90 90 $footer = $this->render_wp_footer(); 91 $this->assert Equals( $html, $new_html );92 $this->assert Equals( '', $footer );93 $this->assert Equals( '', get_echo( 'wp_print_styles' ) );91 $this->assertSame( $html, $new_html ); 92 $this->assertSame( '', $footer ); 93 $this->assertSame( '', get_echo( 'wp_print_styles' ) ); 94 94 } 95 95 … … 109 109 '; 110 110 $new_html = $this->interactivity->process_directives( $html ); 111 $this->assert Equals( $html, $new_html );111 $this->assertSame( $html, $new_html ); 112 112 113 113 // Check that the style is loaded, but only once. … … 116 116 $p = new WP_HTML_Tag_Processor( $styles ); 117 117 $this->assertTrue( $p->next_tag( $query ) ); 118 $this->assert Equals( 'wp-interactivity-router-animations-inline-css', $p->get_attribute( 'id' ) );118 $this->assertSame( 'wp-interactivity-router-animations-inline-css', $p->get_attribute( 'id' ) ); 119 119 $this->assertStringContainsString( '.wp-interactivity-router-loading-bar', $styles ); 120 120 $this->assertFalse( $p->next_tag( $query ) );
Note: See TracChangeset
for help on using the changeset viewer.