Changeset 51367 for trunk/tests/phpunit/tests/feed/rss2.php
- Timestamp:
- 07/07/2021 10:32:56 AM (5 years ago)
- File:
-
- 1 edited
-
trunk/tests/phpunit/tests/feed/rss2.php (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/feed/rss2.php
r50337 r51367 107 107 108 108 // There should only be one <rss> child element. 109 $this->assert Same( 1, count( $rss ));109 $this->assertCount( 1, $rss ); 110 110 111 111 $this->assertSame( '2.0', $rss[0]['attributes']['version'] ); … … 115 115 116 116 // RSS should have exactly one child element (channel). 117 $this->assert Same( 1, count( $rss[0]['child'] ));117 $this->assertCount( 1, $rss[0]['child'] ); 118 118 } 119 119 … … 321 321 322 322 // There should only be one <rss> child element. 323 $this->assert Same( 1, count( $rss ));323 $this->assertCount( 1, $rss ); 324 324 } 325 325 … … 349 349 350 350 // There should only be one <rss> child element. 351 $this->assert Same( 1, count( $rss ));351 $this->assertCount( 1, $rss ); 352 352 } 353 353 … … 382 382 383 383 // There should only be one <rss> child element. 384 $this->assert Same( 1, count( $rss ));384 $this->assertCount( 1, $rss ); 385 385 } 386 386 … … 410 410 411 411 // There should only be one <rss> child element. 412 $this->assert Same( 1, count( $rss ));412 $this->assertCount( 1, $rss ); 413 413 } 414 414 … … 438 438 439 439 // There should only be one <rss> child element. 440 $this->assert Same( 1, count( $rss ));440 $this->assertCount( 1, $rss ); 441 441 } 442 442 … … 466 466 467 467 // There should only be one <rss> child element. 468 $this->assert Same( 1, count( $rss ));468 $this->assertCount( 1, $rss ); 469 469 } 470 470
Note: See TracChangeset
for help on using the changeset viewer.