Skip to content

Commit

Permalink
Update ValidatePublicationsCommandTest.php
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Mar 17, 2023
1 parent 6787b11 commit c8a8066
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ public function testWithMultipleInvalidFields()
MD
);

$this->rebootToDiscoverPublicationPages();
$this->artisan('validate:publications')
->expectsOutputToContain('Validated 1 publication types, 1 publications, 2 fields')
->expectsOutput('Found 0 Warnings')
Expand Down Expand Up @@ -284,13 +283,11 @@ protected function copyTestPublicationFixture(): void
}
JSON
);
$this->rebootToDiscoverPublicationPages();
}

protected function savePublication(string $name): void
{
(new PublicationType($name))->save();
$this->rebootToDiscoverPublicationPages();
}

protected function createFullRangeTestFixtures(): void
Expand Down Expand Up @@ -337,7 +334,5 @@ protected function createFullRangeTestFixtures(): void
# My Page
MD
);

$this->rebootToDiscoverPublicationPages();
}
}

0 comments on commit c8a8066

Please sign in to comment.