|
@@ 473-475 (lines=3) @@
|
| 470 |
|
$this->assertEquals( $tweet_count, count( $boundaries ) ); |
| 471 |
|
$this->assertEquals( $tweet_count, count( $tweet_blocks ) ); |
| 472 |
|
|
| 473 |
|
for ( $ii = 0; $ii < $tweet_count; $ii++ ) { |
| 474 |
|
$this->assertTweetContains( $content[ $ii ], $tweet_blocks[ $ii ], $boundaries[ $ii ], $tweets[ $ii ], true ); |
| 475 |
|
} |
| 476 |
|
|
| 477 |
|
// Remove the data that the editor sends, to match Publicize's behaviour. |
| 478 |
|
$publicize_blocks = array_map( |
|
@@ 495-497 (lines=3) @@
|
| 492 |
|
$this->assertEquals( $tweet_count, count( $boundaries ) ); |
| 493 |
|
$this->assertEquals( $tweet_count, count( $tweet_blocks ) ); |
| 494 |
|
|
| 495 |
|
for ( $ii = 0; $ii < $tweet_count; $ii++ ) { |
| 496 |
|
$this->assertTweetContains( $content[ $ii ], $tweet_blocks[ $ii ], $boundaries[ $ii ], $tweets[ $ii ], false ); |
| 497 |
|
} |
| 498 |
|
|
| 499 |
|
} |
| 500 |
|
|