diff --git a/exercises/hello-world/hello-world.php b/exercises/hello-world/hello-world.php index 439fedcc..6f8ce238 100644 --- a/exercises/hello-world/hello-world.php +++ b/exercises/hello-world/hello-world.php @@ -5,7 +5,7 @@ // It's been provided as a convenience to get you started writing code faster. // -function helloWorld($name = null) +function helloWorld() { // // YOUR CODE GOES HERE diff --git a/exercises/hello-world/hello-world_test.php b/exercises/hello-world/hello-world_test.php index 5253b7c3..468a4f9a 100644 --- a/exercises/hello-world/hello-world_test.php +++ b/exercises/hello-world/hello-world_test.php @@ -4,18 +4,8 @@ class HelloWorldTest extends PHPUnit\Framework\TestCase { - public function testNoName() + public function testHelloWorld() { $this->assertEquals('Hello, World!', helloWorld()); } - - public function testSampleName() - { - $this->assertEquals('Hello, Alice!', helloWorld('Alice')); - } - - public function testAnotherSampleName() - { - $this->assertEquals('Hello, Bob!', helloWorld('Bob')); - } }