Skip to content

Commit

Permalink
Fixed HTTP tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalbaljet committed Jan 2, 2024
1 parent a71b5b7 commit f4032ee
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 27 deletions.
27 changes: 5 additions & 22 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,29 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
verbose="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
backupGlobals="false"
colors="true"
processIsolation="false"
stopOnFailure="false">
<testsuites>
<testsuite name="FFMpeg Test Suite">
<directory>tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist>
<directory suffix=".php">src/</directory>
</whitelist>
</filter>
<logging>
<log type="tap" target="build/report.tap"/>
<log type="junit" target="build/report.junit.xml"/>
<log type="coverage-html" target="build/coverage" charset="UTF-8" yui="true" highlight="true"/>
<log type="coverage-text" target="build/coverage.txt"/>
<log type="coverage-clover" target="build/logs/clover.xml"/>
</logging>
</phpunit>
</phpunit>
10 changes: 5 additions & 5 deletions tests/TileTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@

class TileTest extends TestCase
{
public static function provideThumbnailAmount()
{
return array_map(fn ($i) => [$i], range(1, 10));
}

/** @test */
public function it_has_a_tile_filter()
{
Expand Down Expand Up @@ -94,11 +99,6 @@ public function it_can_generate_thumbnails_with_a_specified_quality()
);
}

public function provideThumbnailAmount()
{
return array_map(fn ($i) => [$i], range(1, 10));
}

/** @test */
public function it_has_a_tile_filter_and_can_store_the_vtt_file()
{
Expand Down

0 comments on commit f4032ee

Please sign in to comment.