|
@@ 456-458 (lines=3) @@
|
| 453 |
|
$this->assertCount( $tweet_count, $boundaries ); |
| 454 |
|
$this->assertCount( $tweet_count, $tweet_blocks ); |
| 455 |
|
|
| 456 |
|
for ( $ii = 0; $ii < $tweet_count; $ii++ ) { |
| 457 |
|
$this->assertTweetContains( $content[ $ii ], $tweet_blocks[ $ii ], $boundaries[ $ii ], $tweets[ $ii ], true ); |
| 458 |
|
} |
| 459 |
|
|
| 460 |
|
// Remove the data that the editor sends, to match Publicize's behaviour. |
| 461 |
|
$publicize_blocks = array_map( |
|
@@ 478-480 (lines=3) @@
|
| 475 |
|
$this->assertCount( $tweet_count, $boundaries ); |
| 476 |
|
$this->assertCount( $tweet_count, $tweet_blocks ); |
| 477 |
|
|
| 478 |
|
for ( $ii = 0; $ii < $tweet_count; $ii++ ) { |
| 479 |
|
$this->assertTweetContains( $content[ $ii ], $tweet_blocks[ $ii ], $boundaries[ $ii ], $tweets[ $ii ], false ); |
| 480 |
|
} |
| 481 |
|
|
| 482 |
|
} |
| 483 |
|
|