Changeset 51438 for trunk/tests/phpunit/tests/ajax/DeleteComment.php
- Timestamp:
- 07/15/2021 02:44:22 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/DeleteComment.php
r51404 r51438 206 206 } catch ( WPAjaxDieStopException $e ) { 207 207 $this->assertSame( 10, strlen( $e->getMessage() ) ); 208 $this->assert True( is_numeric( $e->getMessage()) );208 $this->assertIsNumeric( $e->getMessage() ); 209 209 } catch ( Exception $e ) { 210 210 $this->fail( 'Unexpected exception type: ' . get_class( $e ) ); … … 256 256 } catch ( WPAjaxDieStopException $e ) { 257 257 $this->assertSame( 10, strlen( $e->getMessage() ) ); 258 $this->assert True( is_numeric( $e->getMessage()) );258 $this->assertIsNumeric( $e->getMessage() ); 259 259 } catch ( Exception $e ) { 260 260 $this->fail( 'Unexpected exception type: ' . get_class( $e ) );
Note: See TracChangeset
for help on using the changeset viewer.