Skip to content

Commit

Permalink
Fix PHPUnit warnings. (#1944)
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronweeden authored Nov 26, 2024
1 parent a320250 commit e53c621
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
/**
* Test data warehouse export file.
*/
class FileWriterTest extends TestCase
class FileWriterFactoryTest extends TestCase
{
/**
* Test artifacts path.
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/lib/ETL/Configuration/EtlConfigurationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
use Configuration\XdmodConfiguration;
use ETL\Configuration\EtlConfiguration;
use CCR\Json;
use UnitTests\BaseTest;
use UnitTests\TestBase;

use IntegrationTests\TestHarness\TestFiles;

class EtlConfigurationTest extends BaseTest
class EtlConfigurationTest extends TestBase
{
const TEST_ARTIFACT_INPUT_PATH = "./../artifacts/xdmod/etlv2/configuration/input";
const TEST_ARTIFACT_OUTPUT_PATH = "./../artifacts/xdmod/etlv2/configuration/output";
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/lib/ETL/DataEndpoint/DirectoryScannerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
use ETL\DataEndpoint\DataEndpointOptions;
use Psr\Log\LoggerInterface;

class DirectoryScanner extends \PHPUnit\Framework\TestCase
class DirectoryScannerTest extends \PHPUnit\Framework\TestCase
{
const TEST_ARTIFACT_INPUT_PATH = "./../artifacts/xdmod/etlv2/dataendpoint/input";
const TEST_ARTIFACT_OUTPUT_PATH = "./../artifacts/xdmod/etlv2/dataendpoint/output";
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/lib/OpenXdmod/Tests/HostListParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
/**
* HostListParser test class.
*/
class HostListTest extends \PHPUnit\Framework\TestCase
class HostListParserTest extends \PHPUnit\Framework\TestCase
{

private $parser;
Expand Down
4 changes: 2 additions & 2 deletions tests/unit/lib/BaseTest.php → tests/unit/lib/TestBase.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

namespace UnitTests;

abstract class BaseTest extends \PHPUnit\Framework\TestCase
abstract class TestBase extends \PHPUnit\Framework\TestCase
{
/**
* Recursively filter out any keys matching one in $keyList. This is a helper function to
Expand Down Expand Up @@ -37,4 +37,4 @@ protected function filterKeysRecursive(array $keyList, \stdClass $input)
}
return $input;
}
} // BaseTest
}

0 comments on commit e53c621

Please sign in to comment.