Skip to content

Commit

Permalink
upgrade test
Browse files Browse the repository at this point in the history
  • Loading branch information
ewallah committed Nov 18, 2018
1 parent 030bd87 commit bcd50b9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion tests/format_masonry_test.php
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,6 @@ public function test_upgrade() {
require_once($CFG->libdir . '/upgradelib.php');
try {
$this->assertTrue(xmldb_format_masonry_upgrade(time()));
$this->fail('Exception expected');
} catch (moodle_exception $e) {
$this->assertEquals(1, preg_match('/^Cannot downgrade/', $e->getMessage()));
}
Expand Down

0 comments on commit bcd50b9

Please sign in to comment.