Skip to content

Commit

Permalink
chore: Update tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
ptondereau committed May 13, 2021
1 parent df3f9a9 commit c690c7f
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 31 deletions.
28 changes: 0 additions & 28 deletions phpunit.xml

This file was deleted.

30 changes: 30 additions & 0 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
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"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./src</directory>
</include>
</coverage>
<testsuites>
<testsuite name="Laravel UPS Api Test Suite">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
</phpunit>
4 changes: 1 addition & 3 deletions tests/TestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,9 @@ abstract class TestCase extends AbstractPackageTestCase
/**
* Get the service provider class.
*
* @param \Illuminate\Contracts\Foundation\Application $app
*
* @return string
*/
protected function getServiceProviderClass($app)
protected function getServiceProviderClass(): string
{
return UpsApiServiceProvider::class;
}
Expand Down

0 comments on commit c690c7f

Please sign in to comment.