Merge "Add tests for API's assert={user|bot}"
[lhc/web/wiklou.git] / tests / phpunit / includes / diff / DiffTest.php
1 <?php
2
3 /**
4 * @licence GNU GPL v2+
5 * @author Adam Shorland
6 *
7 * @group Diff
8 */
9 class DiffTest extends MediaWikiTestCase {
10
11 /**
12 * @covers Diff::getEdits
13 */
14 public function testGetEdits() {
15 $obj = new Diff( array(), array() );
16 $obj->edits = 'FooBarBaz';
17 $this->assertEquals( 'FooBarBaz', $obj->getEdits() );
18 }
19
20 }