Skip to content

Commit

Permalink
Merge pull request #1617 from hydephp/refactor-test-internals
Browse files Browse the repository at this point in the history
Internal: Move base testing classes to testing package hydephp/develop@f08728b
  • Loading branch information
github-actions committed Mar 17, 2024
1 parent f88fb61 commit 1c7c40c
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 163 deletions.
6 changes: 2 additions & 4 deletions tests/Unit/Pages/BladePageUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@
use Hyde\Support\Models\Route;
use Hyde\Markdown\Models\FrontMatter;
use Hyde\Foundation\Kernel\PageCollection;
use Hyde\Framework\Factories\Concerns\CoreDataObject;
use Hyde\Testing\Common\BaseHydePageUnitTest;
use Hyde\Framework\Features\Metadata\PageMetadataBag;
use Hyde\Framework\Testing\helpers\BaseHydePageUnitTest;

require_once __DIR__.'/../../helpers/BaseHydePageUnitTest.php';
use Hyde\Framework\Factories\Concerns\CoreDataObject;

/**
* @covers \Hyde\Pages\BladePage
Expand Down
4 changes: 1 addition & 3 deletions tests/Unit/Pages/DocumentationPageUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@
use Hyde\Markdown\Models\Markdown;
use Hyde\Markdown\Models\FrontMatter;
use Hyde\Foundation\Kernel\PageCollection;
use Hyde\Testing\Common\BaseMarkdownPageUnitTest;
use Hyde\Framework\Factories\Concerns\CoreDataObject;
use Hyde\Framework\Features\Metadata\PageMetadataBag;
use Hyde\Framework\Testing\helpers\BaseMarkdownPageUnitTest;

require_once __DIR__.'/../../helpers/BaseMarkdownPageUnitTest.php';

/**
* @covers \Hyde\Pages\DocumentationPage
Expand Down
6 changes: 2 additions & 4 deletions tests/Unit/Pages/HtmlPageUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,9 @@
use Hyde\Support\Models\Route;
use Hyde\Markdown\Models\FrontMatter;
use Hyde\Foundation\Kernel\PageCollection;
use Hyde\Framework\Factories\Concerns\CoreDataObject;
use Hyde\Testing\Common\BaseHydePageUnitTest;
use Hyde\Framework\Features\Metadata\PageMetadataBag;
use Hyde\Framework\Testing\helpers\BaseHydePageUnitTest;

require_once __DIR__.'/../../helpers/BaseHydePageUnitTest.php';
use Hyde\Framework\Factories\Concerns\CoreDataObject;

/**
* @covers \Hyde\Pages\HtmlPage
Expand Down
6 changes: 2 additions & 4 deletions tests/Unit/Pages/InMemoryPageUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,9 @@
use Hyde\Foundation\HydeKernel;
use Hyde\Markdown\Models\FrontMatter;
use Hyde\Foundation\Kernel\PageCollection;
use Hyde\Framework\Factories\Concerns\CoreDataObject;
use Hyde\Testing\Common\BaseHydePageUnitTest;
use Hyde\Framework\Features\Metadata\PageMetadataBag;
use Hyde\Framework\Testing\helpers\BaseHydePageUnitTest;

require_once __DIR__.'/../../helpers/BaseHydePageUnitTest.php';
use Hyde\Framework\Factories\Concerns\CoreDataObject;

/**
* @covers \Hyde\Pages\InMemoryPage
Expand Down
4 changes: 1 addition & 3 deletions tests/Unit/Pages/MarkdownPageUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@
use Hyde\Markdown\Models\Markdown;
use Hyde\Markdown\Models\FrontMatter;
use Hyde\Foundation\Kernel\PageCollection;
use Hyde\Testing\Common\BaseMarkdownPageUnitTest;
use Hyde\Framework\Factories\Concerns\CoreDataObject;
use Hyde\Framework\Features\Metadata\PageMetadataBag;
use Hyde\Framework\Testing\helpers\BaseMarkdownPageUnitTest;

require_once __DIR__.'/../../helpers/BaseMarkdownPageUnitTest.php';

/**
* @covers \Hyde\Pages\MarkdownPage
Expand Down
4 changes: 1 addition & 3 deletions tests/Unit/Pages/MarkdownPostUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,9 @@
use Hyde\Markdown\Models\Markdown;
use Hyde\Markdown\Models\FrontMatter;
use Hyde\Foundation\Kernel\PageCollection;
use Hyde\Testing\Common\BaseMarkdownPageUnitTest;
use Hyde\Framework\Factories\Concerns\CoreDataObject;
use Hyde\Framework\Features\Metadata\PageMetadataBag;
use Hyde\Framework\Testing\helpers\BaseMarkdownPageUnitTest;

require_once __DIR__.'/../../helpers/BaseMarkdownPageUnitTest.php';

/**
* @covers \Hyde\Pages\MarkdownPost
Expand Down
116 changes: 0 additions & 116 deletions tests/helpers/BaseHydePageUnitTest.php

This file was deleted.

23 changes: 0 additions & 23 deletions tests/helpers/BaseMarkdownPageUnitTest.php

This file was deleted.

3 changes: 0 additions & 3 deletions tests/helpers/README.md

This file was deleted.

0 comments on commit 1c7c40c

Please sign in to comment.