From 6b579c8ffa01b65804049aa28d86aa465a0294a4 Mon Sep 17 00:00:00 2001 From: Lode Claassen Date: Tue, 5 Feb 2019 18:21:15 +0100 Subject: [PATCH 1/3] Create UnitTest.php --- tests/UnitTest.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 tests/UnitTest.php diff --git a/tests/UnitTest.php b/tests/UnitTest.php new file mode 100644 index 0000000..8c3146f --- /dev/null +++ b/tests/UnitTest.php @@ -0,0 +1,13 @@ +assertTrue(true); + } + + public function testFailure() { + $this->assertTrue(false); + } +} From 2bc213482d4ed40b7ede69e712c24f558002ea7a Mon Sep 17 00:00:00 2001 From: Lode Claassen Date: Tue, 5 Feb 2019 18:24:20 +0100 Subject: [PATCH 2/3] Update UnitTest.php --- tests/UnitTest.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/UnitTest.php b/tests/UnitTest.php index 8c3146f..a128017 100644 --- a/tests/UnitTest.php +++ b/tests/UnitTest.php @@ -10,4 +10,8 @@ public function testSuccess() { public function testFailure() { $this->assertTrue(false); } + + public function testAnything() { + $this->assertSame(42, 42); + } } From 71c06801a8a11fc3f679590efcf1ccc0a57e80ed Mon Sep 17 00:00:00 2001 From: Lode Claassen Date: Tue, 5 Feb 2019 18:36:12 +0100 Subject: [PATCH 3/3] fix the tests --- tests/UnitTest.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/UnitTest.php b/tests/UnitTest.php index a128017..f7cc548 100644 --- a/tests/UnitTest.php +++ b/tests/UnitTest.php @@ -7,10 +7,6 @@ public function testSuccess() { $this->assertTrue(true); } - public function testFailure() { - $this->assertTrue(false); - } - public function testAnything() { $this->assertSame(42, 42); }