Skip to content

Commit

Permalink
[TASK] Rename test functions
Browse files Browse the repository at this point in the history
Related #1120
  • Loading branch information
kanow committed Aug 20, 2024
1 parent d974c54 commit 46bee2c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Tests/Functional/Command/CreateTestDataCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public function runReturnsSuccessStatus(): void
/**
* @test
*/
public function testDataGetsCreated(): void
public function createsTestData(): void
{
$this->commandTester->execute([
'pageUid' => '1',
Expand All @@ -90,7 +90,7 @@ public function testDataGetsCreated(): void
/**
* @test
*/
public function testDataGetsDeletedBeforeNewDataCreated(): void
public function deletesExistingDataOnGivenPidBeforeCreatingNewData(): void
{
$this->importCSVDataSet(__DIR__ . '/Fixtures/Database/ExistingTeas.csv');
$this->commandTester->execute(
Expand All @@ -106,7 +106,7 @@ public function testDataGetsDeletedBeforeNewDataCreated(): void
/**
* @test
*/
public function existingDataWillBeNotDeleted(): void
public function doesNotDeleteDataOnOtherPid(): void
{
$this->importCSVDataSet(__DIR__ . '/Fixtures/Database/OtherExistingTeas.csv');
$this->commandTester->execute(
Expand All @@ -115,7 +115,7 @@ public function existingDataWillBeNotDeleted(): void
'--delete-data-before' => true,
]
);

self::assertCSVDataSet(__DIR__ . '/Fixtures/Database/TeasAfterDeleteOtherExistingTeas.csv');
}

}

0 comments on commit 46bee2c

Please sign in to comment.