Skip to content

Commit

Permalink
Merge pull request #190 from spotwilliams/fixes
Browse files Browse the repository at this point in the history
Updated composer so the tag can be used. Updated tests accordingly
  • Loading branch information
mewebstudio committed Mar 14, 2023
2 parents 53120f3 + dd8c0c9 commit 48e7bdd
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 1 deletion.
28 changes: 28 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
beStrictAboutTestsThatDoNotTestAnything="true"
beStrictAboutOutputDuringTests="true"
bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
failOnRisky="true"
failOnWarning="true"
processIsolation="false"
stopOnError="false"
stopOnFailure="false"
verbose="true"
>
<testsuites>
<testsuite name="Laravel Purifier Test Suite">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
</whitelist>
</filter>
</phpunit>
2 changes: 1 addition & 1 deletion tests/AbstractTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ abstract class AbstractTestCase extends AbstractPackageTestCase
*
* @return string
*/
protected function getServiceProviderClass($app)
protected function getServiceProviderClass()
{
return PurifierServiceProvider::class;
}
Expand Down

0 comments on commit 48e7bdd

Please sign in to comment.