Skip to content

Commit

Permalink
v7
Browse files Browse the repository at this point in the history
  • Loading branch information
introwit committed Sep 10, 2020
1 parent c32818b commit 8b55910
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 27 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ composer.lock
.DS_Store
Thumbs.db
phpunit.xml
.phpunit.result.cache
/.idea
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
All notable changes to the Laravel Mail Viewer be documented in this file

## v7.0.0 (10-09-2020)
- Added Laravel v8.x support.
- Dropped Laravel v6 & PHPUnit v8 support.

## v6.0.0 (03-03-2020)
- Added Laravel v7.x support.
- Dropped PHP v7.2 support, now PHP v7.3 is the minimum requirement.
Expand Down
11 changes: 6 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,15 @@
},
"require": {
"php": "^7.3",
"illuminate/routing": "6.*|7.*",
"illuminate/support": "6.*|7.*",
"illuminate/database": "6.*|7.*"
"illuminate/routing": "7.*|8.*",
"illuminate/support": "7.*|8.*",
"illuminate/database": "7.*|8.*"
},
"require-dev": {
"laravel/legacy-factories": "^1.0.4",
"mockery/mockery": "^1.1",
"orchestra/testbench": "4.*|5.*",
"phpunit/phpunit": "^8.0"
"orchestra/testbench": "5.*|6.*",
"phpunit/phpunit": "^9.0"
},
"extra": {
"laravel": {
Expand Down
30 changes: 12 additions & 18 deletions phpunit.xml.dist
Original file line number Diff line number Diff line change
@@ -1,19 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false">
<testsuites>
<testsuite name="Package Tests">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./src</directory>
</whitelist>
</filter>
</phpunit>
<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">
<coverage processUncoveredFiles="true">
<include>
<directory suffix=".php">./src</directory>
</include>
</coverage>
<testsuites>
<testsuite name="Package Tests">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
</phpunit>
5 changes: 1 addition & 4 deletions tests/BaseTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@ public function setUp(): void

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

$this->loadMigrationsFrom([
'--database' => 'testing',
'--path' => __DIR__ . '/Database/Migrations'
]);
$this->loadMigrationsFrom(__DIR__ . '/Database/Migrations');

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

0 comments on commit 8b55910

Please sign in to comment.