Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Eckerstorfer committed Mar 6, 2015
1 parent 651f693 commit c301bae
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Tests/Twig/BootstrapFormExtensionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,11 +125,8 @@ public function testBackupFormSettingsRestoreFormSettings()
$this->assertEquals(2, $this->extension->getLabelCol());
$this->assertEquals(3, $this->extension->getSimpleCol());

try {
$this->extension->restoreFormSettings();
$this->fail('Expected UnderflowException not thrown');
} catch (\UnderflowException $e) {
}
// Nothing happens if we try to restore form settings but none exist
$this->extension->restoreFormSettings();
}

/**
Expand Down

0 comments on commit c301bae

Please sign in to comment.