From 2597cfb7a5a09ebc35851c5ef3fcc8b21c12f28c Mon Sep 17 00:00:00 2001 From: KKlochko Date: Mon, 8 May 2023 12:58:25 +0300 Subject: [PATCH] Fixed the test. --- tests/SimpleTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/SimpleTest.php b/tests/SimpleTest.php index f22c7fc..9f8944a 100644 --- a/tests/SimpleTest.php +++ b/tests/SimpleTest.php @@ -18,7 +18,7 @@ class SimpleTest extends TestCase $simple = new Simple(); $result = $simple->subtract(4, 2); // 2 is the right result, therefore I chose not 2. - $this->assertEquals(1, $result); + $this->assertNotEquals(1, $result); } public function testSubtract()