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

main
KKlochko 2 years ago
parent 025f2fb3a6
commit 92dc9b9110

@ -13,6 +13,14 @@ class SimpleTest extends TestCase
$this->assertEquals(5, $result); $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() public function testSubtract()
{ {
$simple = new Simple(); $simple = new Simple();

Loading…
Cancel
Save