Completed
Pull Request — master (#21)
by
unknown
01:17
created
tests/SpellControllerTest.php 1 patch
Braces   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -52,8 +52,11 @@
 block discarded – undo
52 52
 	}
53 53
 
54 54
 	public function tearDown() {
55
-		if($this->securityWasEnabled) SecurityToken::enable();
56
-		else SecurityToken::disable();
55
+		if($this->securityWasEnabled) {
56
+			SecurityToken::enable();
57
+		} else {
58
+			SecurityToken::disable();
59
+		}
57 60
 		Injector::unnest();
58 61
 		Config::unnest();
59 62
 		parent::tearDown();
Please login to merge, or discard this patch.