diff --git a/.github/workflows/phpunit.yml b/.github/workflows/phpunit.yml index 6568999..dd32a8c 100644 --- a/.github/workflows/phpunit.yml +++ b/.github/workflows/phpunit.yml @@ -37,6 +37,7 @@ jobs: with: with-chart: false with-table: true + with-branches: false table-coverage-change: true show-percentage-change-on-table: true file: gh_reports/coverage/pr_report_clover.xml diff --git a/src/Exads/Repos/Repo.php b/src/Exads/Repos/Repo.php index 2f69c71..0cea7f4 100644 --- a/src/Exads/Repos/Repo.php +++ b/src/Exads/Repos/Repo.php @@ -25,4 +25,9 @@ public function getString4(): string return "string 4"; } + public function getString5(): string + { + return "string 5"; + } + } \ No newline at end of file diff --git a/src/Exads/Repos/Repo2.php b/src/Exads/Repos/Repo2.php index 8fb6027..9155566 100644 --- a/src/Exads/Repos/Repo2.php +++ b/src/Exads/Repos/Repo2.php @@ -10,4 +10,9 @@ public function getString(): string return "string 1"; } + public function getString2(): string + { + return "string 2"; + } + } \ No newline at end of file diff --git a/test/Exads/Test/Repos/RepoTest.php b/test/Exads/Test/Repos/RepoTest.php index f3eb638..9179979 100644 --- a/test/Exads/Test/Repos/RepoTest.php +++ b/test/Exads/Test/Repos/RepoTest.php @@ -34,4 +34,22 @@ public function getString3MustReturnString(): void $r = new Repo(); $this->assertEquals("string 3", $r->getString3()); } + + /** + * @test + */ + public function getString4MustReturnString(): void + { + $r = new Repo(); + $this->assertEquals("string 4", $r->getString4()); + } + + /** + * @test + */ + public function getString5MustReturnString(): void + { + $r = new Repo(); + $this->assertEquals("string 5", $r->getString5()); + } } \ No newline at end of file