Skip to content

Commit

Permalink
Merge pull request #1655 from hydephp/test-cleanups
Browse files Browse the repository at this point in the history
Internal: Clean up test code
  • Loading branch information
caendesilva authored Apr 14, 2024
2 parents 7fcf563 + d06573f commit a37de19
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

namespace Hyde\Framework\Testing\Feature;

use Illuminate\Support\Facades\File;
use Hyde\Framework\HydeServiceProvider;
use Hyde\Pages\BladePage;
use Hyde\Pages\DocumentationPage;
Expand All @@ -17,6 +18,13 @@
*/
class SourceDirectoriesCanBeChangedTest extends TestCase
{
public static function tearDownAfterClass(): void
{
parent::tearDownAfterClass();

File::deleteDirectory('_source');
}

public function testBaselines()
{
$this->assertEquals('_pages', HtmlPage::sourceDirectory());
Expand Down

0 comments on commit a37de19

Please sign in to comment.