Skip to content

Commit a9991d6

Browse files
committed
fixed tests which were outdated
1 parent 0cec3a6 commit a9991d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Symfony/src/Codebender/CompilerBundle/Tests/Controller/DefaultControllerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public function testBlinkUnoSyntaxCheckError()
123123
$this->assertContains("expected ';' after top level declarator", $response["message"]);
124124
$this->assertContains("no matching function for call to 'pinMode'", $response["message"]);
125125
$this->assertContains("candidate function not viable: requires 2 arguments, but 1 was provided", $response["message"]);
126-
$this->assertContains("2 errors generated.", $response["message"]);
126+
// $this->assertContains("2 errors generated.", $response["message"]); //unfortunately we no longer show how many errors were generated
127127
}
128128

129129
public function testBlinkUnoCompileError()
@@ -150,7 +150,7 @@ public function testBlinkUnoCompileError()
150150
$this->assertContains("expected ';' after top level declarator", $response["message"]);
151151
$this->assertContains("no matching function for call to 'pinMode'", $response["message"]);
152152
$this->assertContains("candidate function not viable: requires 2 arguments, but 1 was provided", $response["message"]);
153-
$this->assertContains("2 errors generated.", $response["message"]);
153+
// $this->assertContains("2 errors generated.", $response["message"]); //unfortunately we no longer show how many errors were generated
154154
}
155155

156156
public function testIncorrectInputs()

0 commit comments

Comments
 (0)