Changeset 37239
- Timestamp:
- 04/18/2016 03:26:48 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/multisite/bootstrap.php
r37238 r37239 64 64 * @ticket 27003 65 65 * @dataProvider data_get_network_by_path 66 */ 67 function test_get_network_by_path( $expected_key, $request_domain, $request_path, $message ) { 68 $network = get_network_by_path( $request_domain, $request_path ); 66 * 67 * @param string $expected_key The array key associated with expected data for the test. 68 * @param string $domain The requested domain. 69 * @param string $path The requested path. 70 * @param string $message The message to pass for failed tests. 71 */ 72 function test_get_network_by_path( $expected_key, $domain, $path, $message ) { 73 $network = get_network_by_path( $domain, $path ); 69 74 $this->assertEquals( self::$network_ids[ $expected_key ], $network->id, $message ); 70 75 } … … 140 145 * @ticket 27884 141 146 * @dataProvider data_multisite_bootstrap 147 * 148 * @param string $site_key The array key associated with the expected site for the test. 149 * @param string $network_key The array key associated with the expected network for the test. 150 * @param string $domain The requested domain. 151 * @param string $path The requested path. 142 152 */ 143 153 function test_multisite_bootstrap( $site_key, $network_key, $domain, $path ) {
Note: See TracChangeset
for help on using the changeset viewer.