Skip to content

Commit

Permalink
Merge branch 'master' into ensure-documentation-pages-can-be-compiled…
Browse files Browse the repository at this point in the history
…-to-site-root
  • Loading branch information
caendesilva authored Mar 21, 2023
2 parents aac1212 + 48955e5 commit 705c3a7
Showing 1 changed file with 9 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,15 @@
*/
class HydeConfigFilesAreMatchingTest extends TestCase
{
protected function setUp(): void
{
parent::setUp();

if (file_exists(Hyde::path('README.md')) && ! str_contains(file_get_contents(Hyde::path('README.md')), 'HydePHP - Source Monorepo')) {
$this->markTestSkipped('Test skipped when not running in the monorepo.');
}
}

public function test_hyde_config_files_are_matching()
{
$this->assertFileEqualsIgnoringNewlineType(
Expand Down

0 comments on commit 705c3a7

Please sign in to comment.