Changeset 56616
- Timestamp:
- 09/19/2023 12:23:16 PM (13 months ago)
- Location:
- trunk/tests/phpunit/tests
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/media.php
r56612 r56616 553 553 } 554 554 555 $ids1_joined = join( ',', array_slice( $ids1, 0, 3 ) );556 $ids2_joined = join( ',', array_slice( $ids2, 3, 3 ) );555 $ids1_joined = implode( ',', array_slice( $ids1, 0, 3 ) ); 556 $ids2_joined = implode( ',', array_slice( $ids2, 3, 3 ) ); 557 557 558 558 $blob = <<<BLOB … … 639 639 } 640 640 641 $imgs1_joined = join( "\n", array_slice( $imgs, 0, 3 ) );642 $imgs2_joined = join( "\n", array_slice( $imgs, 3, 3 ) );641 $imgs1_joined = implode( "\n", array_slice( $imgs, 0, 3 ) ); 642 $imgs2_joined = implode( "\n", array_slice( $imgs, 3, 3 ) ); 643 643 644 644 $blob = <<<BLOB … … 678 678 } 679 679 680 $ids1_joined = join( ',', array_slice( $ids, 0, 3 ) );681 $ids2_joined = join( ',', array_slice( $ids, 3, 3 ) );680 $ids1_joined = implode( ',', array_slice( $ids, 0, 3 ) ); 681 $ids2_joined = implode( ',', array_slice( $ids, 3, 3 ) ); 682 682 683 683 $blob = <<<BLOB … … 719 719 } 720 720 721 $ids1_joined = join( "\n", array_slice( $ids, 0, 3 ) );722 $ids2_joined = join( "\n", array_slice( $ids, 3, 3 ) );723 $imgs2_joined = join( "\n", array_slice( $imgs, 3, 3 ) );721 $ids1_joined = implode( "\n", array_slice( $ids, 0, 3 ) ); 722 $ids2_joined = implode( "\n", array_slice( $ids, 3, 3 ) ); 723 $imgs2_joined = implode( "\n", array_slice( $imgs, 3, 3 ) ); 724 724 725 725 $blob = <<<BLOB … … 763 763 } 764 764 765 $imgs_joined = join( "\n", $imgs );765 $imgs_joined = implode( "\n", $imgs ); 766 766 767 767 $blob = <<<BLOB … … 806 806 } 807 807 808 $imgs_joined = join( "\n", $imgs );808 $imgs_joined = implode( "\n", $imgs ); 809 809 810 810 $blob = <<<BLOB -
trunk/tests/phpunit/tests/media/getPostGalleries.php
r56548 r56616 576 576 } 577 577 578 $ids_joined = join( ',', $ids );578 $ids_joined = implode( ',', $ids ); 579 579 580 580 $global_post_id = self::factory()->post->create( … … 845 845 } 846 846 847 $ids1_joined = join( ',', array_slice( $ids, 0, 3 ) );848 $ids2_joined = join( ',', array_slice( $ids, 3, 3 ) );847 $ids1_joined = implode( ',', array_slice( $ids, 0, 3 ) ); 848 $ids2_joined = implode( ',', array_slice( $ids, 3, 3 ) ); 849 849 850 850 $blob = <<<BLOB … … 908 908 } 909 909 910 $ids1_joined = join( ',', array_slice( $ids, 0, 3 ) );911 $ids2_joined = join( ',', array_slice( $ids, 3, 3 ) );910 $ids1_joined = implode( ',', array_slice( $ids, 0, 3 ) ); 911 $ids2_joined = implode( ',', array_slice( $ids, 3, 3 ) ); 912 912 $blob = <<<BLOB 913 913 [gallery ids="$ids1_joined" type="type" foo="bar"]
Note: See TracChangeset
for help on using the changeset viewer.