Debian Codegraph @

tests/phpunit/unit/includes/GlobalFunctions/WfAssembleUrlTest.php

raw symbols SCIP
1 <?php
2 /**
3 * @group GlobalFunctions
4 * @covers ::wfAssembleUrl
5 */
6 class WfAssembleUrlTest extends MediaWikiUnitTestCase {
7 /**
8 * Same tests as the UrlUtils method to ensure they don't fall out of sync
9 * @dataProvider UrlUtilsProviders::provideAssemble
10 */
11 public function testWfAssembleUrl( $parts, $output ) {
12 $partsDump = print_r( $parts, true );
13 $this->assertEquals(
14 $output,
15 wfAssembleUrl( $parts ),
16 "Testing $partsDump assembles to $output"
17 );
18 }
19 }