We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 651f693 commit c301baeCopy full SHA for c301bae
Tests/Twig/BootstrapFormExtensionTest.php
@@ -125,11 +125,8 @@ public function testBackupFormSettingsRestoreFormSettings()
125
$this->assertEquals(2, $this->extension->getLabelCol());
126
$this->assertEquals(3, $this->extension->getSimpleCol());
127
128
- try {
129
- $this->extension->restoreFormSettings();
130
- $this->fail('Expected UnderflowException not thrown');
131
- } catch (\UnderflowException $e) {
132
- }
+ // Nothing happens if we try to restore form settings but none exist
+ $this->extension->restoreFormSettings();
133
}
134
135
/**
0 commit comments