Skip to content

Commit

Permalink
Add todos to move more tests to match new code locations
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Jul 26, 2024
1 parent a60e91b commit 8cfe0cd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/framework/tests/Feature/HydeKernelTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -393,17 +393,23 @@ public function testGetMediaOutputDirectoryNameUsesTrimmedVersionOfMediaSourceDi

public function testCanGetSiteMediaOutputDirectory()
{
// Todo: Move to MediaFileTest

$this->assertSame(Hyde::path('_site/media'), Hyde::siteMediaPath());
}

public function testGetSiteMediaOutputDirectoryUsesTrimmedVersionOfMediaSourceDirectory()
{
// Todo: Move to MediaFileTest

Hyde::setMediaDirectory('_foo');
$this->assertSame(Hyde::path('_site/foo'), Hyde::siteMediaPath());
}

public function testGetSiteMediaOutputDirectoryUsesConfiguredSiteOutputDirectory()
{
// Todo: Move to MediaFileTest

Hyde::setOutputDirectory(Hyde::path('foo'));
Hyde::setMediaDirectory('bar');

Expand Down

0 comments on commit 8cfe0cd

Please sign in to comment.