dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Change the default for wgThumbnailMinimumBucketDistance"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
GlobalFunctions
/
wfGetCallerTest.php
diff --git
a/tests/phpunit/includes/GlobalFunctions/wfGetCallerTest.php
b/tests/phpunit/includes/GlobalFunctions/wfGetCallerTest.php
index
6229624
..
bb2b33f
100644
(file)
--- a/
tests/phpunit/includes/GlobalFunctions/wfGetCallerTest.php
+++ b/
tests/phpunit/includes/GlobalFunctions/wfGetCallerTest.php
@@
-1,10
+1,10
@@
<?php
/**
<?php
/**
+ * @group GlobalFunctions
* @covers ::wfGetCaller
*/
class WfGetCallerTest extends MediaWikiTestCase {
* @covers ::wfGetCaller
*/
class WfGetCallerTest extends MediaWikiTestCase {
-
public function testZero() {
$this->assertEquals( __METHOD__, wfGetCaller( 1 ) );
}
public function testZero() {
$this->assertEquals( __METHOD__, wfGetCaller( 1 ) );
}
@@
-31,10
+31,16
@@
class WfGetCallerTest extends MediaWikiTestCase {
public function testN() {
$this->assertEquals( 'WfGetCallerTest::testN', self::intermediateFunction( 2, 0 ) );
public function testN() {
$this->assertEquals( 'WfGetCallerTest::testN', self::intermediateFunction( 2, 0 ) );
- $this->assertEquals( 'WfGetCallerTest::intermediateFunction', self::intermediateFunction( 1, 0 ) );
+ $this->assertEquals(
+ 'WfGetCallerTest::intermediateFunction',
+ self::intermediateFunction( 1, 0 )
+ );
for ( $i = 0; $i < 10; $i++ ) {
for ( $i = 0; $i < 10; $i++ ) {
- $this->assertEquals( 'WfGetCallerTest::intermediateFunction', self::intermediateFunction( $i + 1, $i ) );
+ $this->assertEquals(
+ 'WfGetCallerTest::intermediateFunction',
+ self::intermediateFunction( $i + 1, $i )
+ );
}
}
}
}
}
}