mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-28 17:01:16 +00:00
Update tests
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
2018-07-26 DariusIII
|
||||
* Chg: Update tests
|
||||
* Chg: Update CreatesApplication class
|
||||
* Chg: Add missing tests
|
||||
* Chg: Update releases date handling in RSS and API operations
|
||||
|
||||
@@ -20,6 +20,11 @@
|
||||
"database/seeds"
|
||||
]
|
||||
},
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
"Tests\\": "tests/"
|
||||
}
|
||||
},
|
||||
"config": {
|
||||
"discard-changes": true,
|
||||
"process-timeout": 3600,
|
||||
|
||||
+2
-1
@@ -8,8 +8,9 @@
|
||||
convertWarningsToExceptions="true"
|
||||
processIsolation="false"
|
||||
stopOnFailure="false">
|
||||
<testsuite name="Installation Test">
|
||||
<testsuite name="Tests">
|
||||
<directory suffix="Test.php">./tests/Install</directory>
|
||||
<directory suffix="Test.php">./tests/Feature</directory>
|
||||
</testsuite>
|
||||
<filter>
|
||||
<whitelist processUncoveredFilesFromWhitelist="true">
|
||||
|
||||
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace Tests\Feature;
|
||||
|
||||
use Blacklight\Books;
|
||||
use Tests\TestCase;
|
||||
|
||||
class GetBooksBrowseByOptionsTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* @throws \Exception
|
||||
*/
|
||||
public function testBookBrowseByTest()
|
||||
{
|
||||
$books = (new Books())->getBrowseByOptions();
|
||||
$this->assertArrayHasKey('author', $books);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user