Skip to content

Commit

Permalink
Make phpunit fail on warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mroloux committed Jul 13, 2023
1 parent 0a0c8f8 commit fa11b94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>

<phpunit bootstrap="./tests/Bootstrap.php" colors="true">
<phpunit bootstrap="./tests/Bootstrap.php" colors="true" failOnWarning="true" failOnDeprecation="true" failOnNotice="true">
<testsuites>
<testsuite name="seatsio/seatsio">
<directory>./tests</directory>
<exclude>./tests/SeatsioClientTest.php</exclude>
</testsuite>
</testsuites>
</phpunit>
3 changes: 1 addition & 2 deletions tests/SeatsioClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@
use GuzzleHttp\Client;
use GuzzleHttp\Utils;
use PHPUnit\Framework\TestCase;
use Seatsio\Charts\ListStatusChangesTest;
use Seatsio\Events\Event;
use Seatsio\Subaccounts\Subaccount;

class SeatsioClientTest extends TestCase
abstract class SeatsioClientTest extends TestCase
{
private static $BASE_URL = 'https://api-staging-eu.seatsio.net/';

Expand Down

0 comments on commit fa11b94

Please sign in to comment.