Changeset 54088 for trunk/tests/phpunit/tests/l10n.php
- Timestamp:
- 09/06/2022 10:03:10 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/l10n.php
r53866 r54088 310 310 ); 311 311 312 $post = $this->factory()->post->create_and_get( $args );312 $post = self::factory()->post->create_and_get( $args ); 313 313 setup_postdata( $post ); 314 314 … … 336 336 ); 337 337 338 $post = $this->factory()->post->create_and_get( $args );338 $post = self::factory()->post->create_and_get( $args ); 339 339 setup_postdata( $post ); 340 340 … … 362 362 ); 363 363 364 $post = $this->factory()->post->create_and_get( $args );364 $post = self::factory()->post->create_and_get( $args ); 365 365 setup_postdata( $post ); 366 366 … … 388 388 ); 389 389 390 $post = $this->factory()->post->create_and_get( $args );390 $post = self::factory()->post->create_and_get( $args ); 391 391 setup_postdata( $post ); 392 392 … … 414 414 ); 415 415 416 $post = $this->factory()->post->create_and_get( $args );416 $post = self::factory()->post->create_and_get( $args ); 417 417 setup_postdata( $post ); 418 418 … … 442 442 ); 443 443 444 $this->factory()->post->create( $args );444 self::factory()->post->create( $args ); 445 445 446 446 $expect = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do…'; … … 468 468 ); 469 469 470 $post = $this->factory()->post->create( $args );470 $post = self::factory()->post->create( $args ); 471 471 472 472 $expect = 'Lorem ipsum dolor sit amet, consectetur …'; … … 494 494 ); 495 495 496 $this->factory()->post->create( $args );496 self::factory()->post->create( $args ); 497 497 498 498 $expect = str_repeat( 'あ', 40 ) . '…'; … … 515 515 'comment_content' => $this->long_text, 516 516 ); 517 $comment_id = $this->factory()->comment->create( $args );517 $comment_id = self::factory()->comment->create( $args ); 518 518 $expect = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut…'; 519 519 $comment_excerpt = get_comment_excerpt( $comment_id ); … … 535 535 'comment_content' => $this->long_text, 536 536 ); 537 $comment_id = $this->factory()->comment->create( $args );537 $comment_id = self::factory()->comment->create( $args ); 538 538 $expect = 'Lorem ipsum dolor sit amet, consectetur …'; 539 539 $comment_excerpt = get_comment_excerpt( $comment_id ); … … 555 555 'comment_content' => str_repeat( 'あ', 200 ), 556 556 ); 557 $comment_id = $this->factory()->comment->create( $args );557 $comment_id = self::factory()->comment->create( $args ); 558 558 $expect = str_repeat( 'あ', 40 ) . '…'; 559 559 $comment_excerpt = get_comment_excerpt( $comment_id );
Note: See TracChangeset
for help on using the changeset viewer.