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 "Add pp_propname_page index to page_props"
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
upload
/
UploadFromUrlTest.php
diff --git
a/tests/phpunit/includes/upload/UploadFromUrlTest.php
b/tests/phpunit/includes/upload/UploadFromUrlTest.php
index
a693cdb
..
4d2d8ce
100644
(file)
--- a/
tests/phpunit/includes/upload/UploadFromUrlTest.php
+++ b/
tests/phpunit/includes/upload/UploadFromUrlTest.php
@@
-336,7
+336,7
@@
class UploadFromUrlTest extends ApiTestCase {
*/
protected function deleteFile( $name ) {
$t = Title::newFromText( $name, NS_FILE );
*/
protected function deleteFile( $name ) {
$t = Title::newFromText( $name, NS_FILE );
- $this->assertTrue(
$t->exists(), "File '$name' exists"
);
+ $this->assertTrue(
$t->exists(), "File '$name' exists"
);
if ( $t->exists() ) {
$file = wfFindFile( $name, array( 'ignoreRedirect' => true ) );
if ( $t->exists() ) {
$file = wfFindFile( $name, array( 'ignoreRedirect' => true ) );
@@
-347,6
+347,6
@@
class UploadFromUrlTest extends ApiTestCase {
}
$t = Title::newFromText( $name, NS_FILE );
}
$t = Title::newFromText( $name, NS_FILE );
- $this->assertFalse(
$t->exists(), "File '$name' was deleted"
);
+ $this->assertFalse(
$t->exists(), "File '$name' was deleted"
);
}
}
-
}
+}