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 "XMP: Throw generic exceptions instead of MWException"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
TestingAccessWrapperTest.php
diff --git
a/tests/phpunit/includes/TestingAccessWrapperTest.php
b/tests/phpunit/includes/TestingAccessWrapperTest.php
index
8da8e42
..
7e5b91a
100644
(file)
--- a/
tests/phpunit/includes/TestingAccessWrapperTest.php
+++ b/
tests/phpunit/includes/TestingAccessWrapperTest.php
@@
-27,4
+27,8
@@
class TestingAccessWrapperTest extends MediaWikiTestCase {
$this->assertSame( 2, $this->wrapped->property );
$this->assertSame( 2, $this->raw->getProperty() );
}
+
+ function testCallMethodTwoArgs() {
+ $this->assertSame( 'two', $this->wrapped->whatSecondArg( 'one', 'two' ) );
+ }
}