Changeset 52259 for trunk/tests/phpunit/tests/widgets.php
- Timestamp:
- 11/27/2021 04:16:15 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/widgets.php
r52173 r52259 612 612 ); 613 613 614 // Effectively ignore the output until retrieving it later via `getActualOutput()`. 615 $this->expectOutputRegex( '`.`' ); 614 $this->expectOutputRegex( '/Test Title/' ); 616 615 617 616 $widget->display_callback( … … 625 624 ); 626 625 627 $actual = $this->getActualOutput();628 629 626 unregister_widget( $widget ); 630 631 $this->assertStringContainsString( 'Test Title', $actual );632 627 } 633 628
Note: See TracChangeset
for help on using the changeset viewer.