Skip to content

Assets Test Case #17

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 14, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,9 @@ you will need to include both.

## Testing

This library includes some PHPUnit extension classes in **src/Test/** to assist with testing
vendor-sourced Bundles and Publishers. These are uses to test the files from this library
but are also available for other projects that use `Tatter\Frontend`. To test your own
classes simply extend the appropriate test case and add a data provider method with your
class name and criteria to meet. See the test files in **tests/** for examples.
This library includes a PHPUnit extension classes in **src/Test/** to assist with testing
vendor-sourced Publishers. `Tatter\Assets` has a similar test case for Bundles. These two
classes are used to test the files from this library but are also available for other projects
that use `Tatter\Frontend`. To test your own classes simply extend the appropriate test case
and add a data provider method with your class name and criteria to meet. See the test files
in **tests/** for examples.
57 changes: 0 additions & 57 deletions src/Test/BundlesTestCase.php

This file was deleted.

1 change: 1 addition & 0 deletions src/Test/PublishersTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Tatter\Frontend\Test;

use Tatter\Assets\Test\TestCase;
use Tatter\Frontend\FrontendPublisher;

abstract class PublishersTestCase extends TestCase
Expand Down
55 changes: 0 additions & 55 deletions src/Test/TestCase.php

This file was deleted.

2 changes: 1 addition & 1 deletion tests/BundlesTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Tatter\Frontend\Bundles;

use Tatter\Frontend\Test\BundlesTestCase;
use Tatter\Assets\Test\BundlesTestCase;

/**
* @internal
Expand Down
2 changes: 1 addition & 1 deletion tests/FrontendPublisherTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

use Tatter\Assets\Test\TestCase;
use Tatter\Frontend\FrontendPublisher;
use Tatter\Frontend\Test\TestCase;

/**
* @internal
Expand Down