Skip to content

Commit

Permalink
pradosoft#872 Unit Tests missing a needed property
Browse files Browse the repository at this point in the history
PHP 8.2 Classes must define properties.  These classes accidentally did not define their test classes.
  • Loading branch information
belisoful committed Apr 17, 2023
1 parent 4526128 commit 715beed
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit/Util/Cron/TShellCronLogBehaviorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
class TShellCronLogBehaviorTest extends PHPUnit\Framework\TestCase
{
protected $obj;

protected $writer;

protected function setUp(): void
{
Expand Down
1 change: 1 addition & 0 deletions tests/unit/Util/Cron/TShellDbCronActionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
class TShellDbCronActionTest extends PHPUnit\Framework\TestCase
{
protected $obj;
protected $writer;

protected function getTestClass()
{
Expand Down
2 changes: 2 additions & 0 deletions tests/unit/Web/TUriTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ class TUriTest extends PHPUnit\Framework\TestCase
{
const URISTR = 'http://login:p@ssw0rd:compl3x@www.pradoframework.net:80/demos/quickstart/index.php?page=test&param1=test2#anchor';

protected $uri;

protected function setUp(): void
{
$this->uri = new TUri(self::URISTR);
Expand Down

0 comments on commit 715beed

Please sign in to comment.