Changeset 55563 for trunk/tests/phpunit/tests/formatting/urlencodeDeep.php
- Timestamp:
- 03/19/2023 12:51:14 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/formatting/urlencodeDeep.php
r55562 r55563 10 10 11 11 /** 12 * Data Provider 12 * Tests the urlencode_deep() function pair by pair. 13 * 14 * @dataProvider data_urlencode_deep 15 * 16 * @param string $input 17 * @param string $expected 18 */ 19 public function test_urlencode_deep_should_encode_individual_value( $input, $expected ) { 20 $this->assertSame( $expected, urlencode_deep( $input ) ); 21 } 22 23 /** 24 * Data provider. 13 25 */ 14 26 public function data_urlencode_deep() { … … 23 35 24 36 /** 25 * Validate the urlencode_deep function pair by pair 26 * 27 * @dataProvider data_urlencode_deep 28 * 29 * @param string $actual 30 * @param string $expected 31 */ 32 public function test_urlencode_deep_should_encode_individual_value( $actual, $expected ) { 33 $this->assertSame( $expected, urlencode_deep( $actual ) ); 34 } 35 36 /** 37 * Test the whole array as input 37 * Tests the whole array as input. 38 38 */ 39 39 public function test_urlencode_deep_should_encode_all_values_in_array() {
Note: See TracChangeset
for help on using the changeset viewer.