Skip to content

Commit 2fb8749

Browse files
committed
Add support for Laravel 7
1 parent 531e534 commit 2fb8749

File tree

3 files changed

+22
-13
lines changed

3 files changed

+22
-13
lines changed

.travis.yml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,29 @@
11
language: php
2+
dist: trusty
23

3-
php:
4-
- 7.2
5-
- 7.3
6-
- 7.4
4+
matrix:
5+
include:
6+
- php: 7.2
7+
env: ILLUMINATE_VERSION=6.* TESTBENCH_VERSION=4.*
8+
- php: 7.3
9+
env: ILLUMINATE_VERSION=7.* TESTBENCH_VERSION=5.*
10+
- php: 7.3
11+
env: ILLUMINATE_VERSION=6.* TESTBENCH_VERSION=4.*
12+
- php: 7.4
13+
env: ILLUMINATE_VERSION=7.* TESTBENCH_VERSION=5.*
14+
- php: 7.4
15+
env: ILLUMINATE_VERSION=6.* TESTBENCH_VERSION=4.*
716

8-
env:
9-
- TESTBENCH_VERSION=4.*
17+
before_script:
1018

1119
before_install:
1220
- travis_retry composer self-update
1321
- composer require "orchestra/testbench:${TESTBENCH_VERSION}" --no-update --dev
22+
- composer require "illuminate/support:${ILLUMINATE_VERSION}" --no-update
1423

1524
install: composer update --prefer-source --no-interaction
1625

17-
sudo: true
26+
sudo: false
1827

1928
cache:
2029
directories:

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
}
1717
],
1818
"require": {
19-
"php": ">=7.2",
20-
"illuminate/session": ">=6.0",
21-
"illuminate/support": ">=6.0"
19+
"php": "^7.2",
20+
"illuminate/session": "^6.0|^7.0",
21+
"illuminate/support": "^6.0|^7.0"
2222
},
2323
"require-dev": {
24-
"orchestra/testbench": ">=4.0",
24+
"orchestra/testbench": "^4.0|^5.0",
2525
"phpunit/phpunit": "^8.0|^9.0"
2626
},
2727
"scripts": {

tests/NotificationTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ public function it_renders_html_unescaped()
8080
$response = $this->get('flash');
8181

8282
$response->assertOk();
83-
$response->assertSee('<h1>Custom view!</h1>');
84-
$response->assertSee('<div>Some message</div>');
83+
$response->assertSee('<h1>Custom view!</h1>', false);
84+
$response->assertSee('<div>Some message</div>', false);
8585
}
8686

8787
/**

0 commit comments

Comments
 (0)