Testing with the failure.
continuous-integration/drone/push Build is failing

This commit is contained in:
2023-05-08 12:57:26 +03:00
parent 025f2fb3a6
commit 92dc9b9110
+8
View File
@@ -13,6 +13,14 @@ class SimpleTest extends TestCase
$this->assertEquals(5, $result);
}
public function testSubtractFail()
{
$simple = new Simple();
$result = $simple->subtract(4, 2);
// 2 is the right result, therefore I chose not 2.
$this->assertEquals(1, $result);
}
public function testSubtract()
{
$simple = new Simple();