Fixed the test.
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-05-08 12:58:25 +03:00
parent 92dc9b9110
commit 2597cfb7a5
+1 -1
View File
@@ -18,7 +18,7 @@ class SimpleTest extends TestCase
$simple = new Simple(); $simple = new Simple();
$result = $simple->subtract(4, 2); $result = $simple->subtract(4, 2);
// 2 is the right result, therefore I chose not 2. // 2 is the right result, therefore I chose not 2.
$this->assertEquals(1, $result); $this->assertNotEquals(1, $result);
} }
public function testSubtract() public function testSubtract()