Skip to content

Commit

Permalink
migrate phpunit and remove duplicate test (#121)
Browse files Browse the repository at this point in the history
  • Loading branch information
inmanturbo authored Mar 12, 2024
1 parent 80858dd commit 34f2350
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 26 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
composer.lock
/tests/cache/
.vscode/settings.json
.phpunit.cache
28 changes: 11 additions & 17 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/8.5/phpunit.xsd"
bootstrap="vendor/autoload.php"
executionOrder="depends,defects"
colors="true"
verbose="true">
<testsuites>
<testsuite name="default">
<directory suffix="Test.php">tests</directory>
</testsuite>
</testsuites>

<coverage>
<include>
<directory suffix=".php">src</directory>
</include>
</coverage>
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd" bootstrap="vendor/autoload.php" executionOrder="depends,defects" colors="true" cacheDirectory=".phpunit.cache">
<testsuites>
<testsuite name="default">
<directory suffix="Test.php">tests</directory>
</testsuite>
</testsuites>
<source>
<include>
<directory suffix=".php">src</directory>
</include>
</source>
</phpunit>
9 changes: 0 additions & 9 deletions tests/SushiTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,15 +141,6 @@ function uses_same_cache_between_requests()
$this->markTestSkipped("I can't find a good way to test this right now.");
}

/**
* @test
* @group skipped
* */
function use_same_cache_between_requests()
{
$this->markTestSkipped("I can't find a good way to test this right now.");
}

/** @test */
function adds_primary_key_if_needed()
{
Expand Down

0 comments on commit 34f2350

Please sign in to comment.