Skip to content

Commit 8b55910

Browse files
committed
v7
1 parent c32818b commit 8b55910

File tree

5 files changed

+24
-27
lines changed

5 files changed

+24
-27
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ composer.lock
33
.DS_Store
44
Thumbs.db
55
phpunit.xml
6+
.phpunit.result.cache
67
/.idea

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
All notable changes to the Laravel Mail Viewer be documented in this file
22

3+
## v7.0.0 (10-09-2020)
4+
- Added Laravel v8.x support.
5+
- Dropped Laravel v6 & PHPUnit v8 support.
6+
37
## v6.0.0 (03-03-2020)
48
- Added Laravel v7.x support.
59
- Dropped PHP v7.2 support, now PHP v7.3 is the minimum requirement.

composer.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,15 @@
2020
},
2121
"require": {
2222
"php": "^7.3",
23-
"illuminate/routing": "6.*|7.*",
24-
"illuminate/support": "6.*|7.*",
25-
"illuminate/database": "6.*|7.*"
23+
"illuminate/routing": "7.*|8.*",
24+
"illuminate/support": "7.*|8.*",
25+
"illuminate/database": "7.*|8.*"
2626
},
2727
"require-dev": {
28+
"laravel/legacy-factories": "^1.0.4",
2829
"mockery/mockery": "^1.1",
29-
"orchestra/testbench": "4.*|5.*",
30-
"phpunit/phpunit": "^8.0"
30+
"orchestra/testbench": "5.*|6.*",
31+
"phpunit/phpunit": "^9.0"
3132
},
3233
"extra": {
3334
"laravel": {

phpunit.xml.dist

Lines changed: 12 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,13 @@
11
<?xml version="1.0" encoding="UTF-8"?>
2-
<phpunit bootstrap="vendor/autoload.php"
3-
colors="true"
4-
convertErrorsToExceptions="true"
5-
convertNoticesToExceptions="true"
6-
convertWarningsToExceptions="true"
7-
processIsolation="false"
8-
stopOnFailure="false">
9-
<testsuites>
10-
<testsuite name="Package Tests">
11-
<directory suffix="Test.php">./tests</directory>
12-
</testsuite>
13-
</testsuites>
14-
<filter>
15-
<whitelist processUncoveredFilesFromWhitelist="true">
16-
<directory suffix=".php">./src</directory>
17-
</whitelist>
18-
</filter>
19-
</phpunit>
2+
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" bootstrap="vendor/autoload.php" colors="true" convertErrorsToExceptions="true" convertNoticesToExceptions="true" convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd">
3+
<coverage processUncoveredFiles="true">
4+
<include>
5+
<directory suffix=".php">./src</directory>
6+
</include>
7+
</coverage>
8+
<testsuites>
9+
<testsuite name="Package Tests">
10+
<directory suffix="Test.php">./tests</directory>
11+
</testsuite>
12+
</testsuites>
13+
</phpunit>

tests/BaseTestCase.php

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@ public function setUp(): void
2020

2121
$this->withFactories(__DIR__ . '/Database/Factories');
2222

23-
$this->loadMigrationsFrom([
24-
'--database' => 'testing',
25-
'--path' => __DIR__ . '/Database/Migrations'
26-
]);
23+
$this->loadMigrationsFrom(__DIR__ . '/Database/Migrations');
2724

2825
$this->artisan('migrate', ['--database' => 'testing']);
2926
}

0 commit comments

Comments
 (0)