-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: added dummy-test to test git workflow & gitignore file (#7)
* fix: gitignore file added to ignore composer files * fix: dummy test that always passes to test workflow, unit test require deleted
- Loading branch information
1 parent
35f72ba
commit 9db4984
Showing
3 changed files
with
14 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
### Composer ### | ||
composer.phar | ||
/vendor/ | ||
composer.lock |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,16 @@ | ||
<?php | ||
|
||
class HelloTest extends \PHPUnit\Framework\TestCase { | ||
/** | ||
* This test is a dummy test that always passes. | ||
/** | ||
* This test is a dummy test that always passes. | ||
* It was implemented just to test the Git Workflow | ||
* that implements PHPUnit. | ||
*/ | ||
/** @test */ | ||
// public function test_hello_test() { | ||
// $expected = true; | ||
// $actual = true; | ||
*/ | ||
public function test_hello_test() { | ||
$expected = true; | ||
$actual = true; | ||
|
||
// // Assertion | ||
// if ($actual === $expected) { | ||
// echo "Test Passed!"; | ||
// } else { | ||
// echo "Test Failed!"; | ||
// } | ||
// } | ||
// Assertion | ||
$this->assertTrue($actual === $expected); | ||
} | ||
} |