r110849 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r110848‎ | r110849 | r110850 >
Date:14:54, 7 February 2012
Author:hashar
Status:ok
Tags:
Comment:
test FileRepo constructor
Modified paths:
  • /trunk/phase3/tests/phpunit/includes/filerepo/FileRepoTest.php (modified) (history)

Diff [purge]

Index: trunk/phase3/tests/phpunit/includes/filerepo/FileRepoTest.php
@@ -31,4 +31,11 @@
3232 ) );
3333 }
3434
 35+ function testFileRepoConstructionWithRequiredOptions() {
 36+ $f = new FileRepo( array(
 37+ 'name' => 'FileRepoTestRepository',
 38+ 'backend' => 'local-backend',
 39+ ));
 40+ $this->assertInstanceOf( 'FileRepo', $f );
 41+ }
3542 }

Status & tagging log