8000 [Tests] Update test dependencies · CodingSeo/laravel-json-api@2fac90a · GitHub
[go: up one dir, main page]

Skip to content

Commit 2fac90a

Browse files
committed
[Tests] Update test dependencies
1 parent 1c02db2 commit 2fac90a

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,21 +2,20 @@ language: php
22
dist: trusty
33
sudo: false
44

5-
env:
6-
global:
7-
- PHPUNIT_VERSION=^8.0
8-
95
matrix:
106
include:
117
- php: "7.2"
128
env:
139
- LARAVEL_VERSION=^7.0
10+
- PHPUNIT_VERSION=^8.0
1411
- php: "7.3"
1512
env:
1613
- LARAVEL_VERSION=^7.0
14+
- PHPUNIT_VERSION=^9.0
1715
- php: "7.4"
1816
env:
1917
- LARAVEL_VERSION=^7.0
18+
- PHPUNIT_VERSION=^9.0
2019

2120
install:
2221
- composer require "laravel/framework:${LARAVEL_VERSION}" --no-update -n

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@
3838
},
3939
"require-dev": {
4040
"ext-sqlite3": "*",
41-
"cloudcreativity/json-api-testing": "^2.1",
41+
"cloudcreativity/json-api-testing": "^3.0",
4242
"guzzlehttp/guzzle": "^6.3",
4343
"laravel/ui": "^2.0",
4444
"mockery/mockery": "^1.1",
4545
"orchestra/testbench": "^5.0",
46-
"phpunit/phpunit": "^8.0"
46+
"phpunit/phpunit": "^9.0"
4747
},
4848
"suggest": {
4949
"cloudcreativity/json-api-testing": "Required to use the test helpers."

docs/installation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Install using [Composer](http://getcomposer.org):
44

55
```bash
66
$ composer require cloudcreativity/laravel-json-api
7-
$ composer require --dev "cloudcreativity/json-api-testing:^1.2|^2.0"
7+
$ composer require --dev "cloudcreativity/json-api-testing"
88
```
99

1010
This package's service provider and facade will be automatically added using package discovery. You will
@@ -16,7 +16,7 @@ Please find a compatibility matrix between Laravel and Laravel JSON API version
1616
## Route Prefixes
1717

1818
The default Laravel installation has an `api` prefix for API routes. If you want to register your JSON API
19-
routes in your `routes/api.php` file, you will need to remove the prefix from the `mapApiRoutes()` method in your
19+
routes in your `routes/api.php` file, you will need to remove the prefix from the `mapApiRoutes()` method in your
2020
`RouteServiceProvider`.
2121

2222
For example, change this:
@@ -102,7 +102,7 @@ class Handler extends ExceptionHandler
102102

103103
// do standard exception rendering here...
104104
}
105-
105+
106106
protected function prepareException(Exception $e)
107107
{
108108
if ($e instanceof JsonApiException) {

0 commit comments

Comments
 (0)
0