Skip to content

Commit

Permalink
Add test when methods are not a testclass
Browse files Browse the repository at this point in the history
  • Loading branch information
bbrala committed Nov 25, 2023
1 parent 0f39ec5 commit 4ada8d0
Showing 1 changed file with 28 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,20 @@ final class MissingParentInEmptyTest extends KernelTestBase {

}

final class NotAtestClass {

protected function setUp(): void
{
$test = 'doing things';
}

protected function tearDown(): void
{
$test = 'doing things';
}

}

?>
-----
<?php
Expand Down Expand Up @@ -68,4 +82,18 @@ final class MissingParentInEmptyTest extends KernelTestBase {

}

final class NotAtestClass {

protected function setUp(): void
{
$test = 'doing things';
}

protected function tearDown(): void
{
$test = 'doing things';
}

}

?>

0 comments on commit 4ada8d0

Please sign in to comment.