mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 01:08:56 +00:00
Update phpunit testing
This commit is contained in:
+7
-5
@@ -1,10 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" bootstrap="./bootstrap/autoload.php" colors="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.0/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
|
||||
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" backupGlobals="false" bootstrap="./bootstrap/autoload.php" colors="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.2/phpunit.xsd" cacheDirectory=".phpunit.cache" backupStaticProperties="false">
|
||||
<coverage>
|
||||
<include>
|
||||
<directory suffix=".php">Blacklight</directory>
|
||||
<directory suffix=".php">app</directory>
|
||||
</include>
|
||||
<report>
|
||||
<clover outputFile="tests/build/logs/clover.xml"/>
|
||||
</report>
|
||||
@@ -29,4 +25,10 @@
|
||||
<env name="MAIL_DRIVER" value="array"/>
|
||||
</php>
|
||||
<logging/>
|
||||
<source>
|
||||
<include>
|
||||
<directory suffix=".php">Blacklight</directory>
|
||||
<directory suffix=".php">app</directory>
|
||||
</include>
|
||||
</source>
|
||||
</phpunit>
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Feature;
|
||||
|
||||
use Blacklight\Books;
|
||||
use Tests\TestCase;
|
||||
|
||||
class GetBooksBrowseByOptionsTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* @throws \Exception
|
||||
*/
|
||||
public function testBookBrowseByTest(): void
|
||||
{
|
||||
$books = (new Books())->getBrowseByOptions();
|
||||
$this->assertArrayHasKey('author', $books);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user