Skip to content

Commit 38f2c6f

Browse files
carusogabrieltshafer
authored andcommitted
Update to PHPUnit 7.1 (LaravelCollective#511)
1 parent b3a1024 commit 38f2c6f

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"require-dev": {
2929
"illuminate/database": "5.6.*",
3030
"mockery/mockery": "~1.0",
31-
"phpunit/phpunit": "~5.4"
31+
"phpunit/phpunit": "~7.1"
3232
},
3333
"autoload": {
3434
"psr-4": {

tests/FormAccessibleTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
use Illuminate\Database\Capsule\Manager as Capsule;
1313
use Mockery as m;
1414

15-
class FormAccessibleTest extends PHPUnit_Framework_TestCase
15+
class FormAccessibleTest extends PHPUnit\Framework\TestCase
1616
{
1717
public function setUp()
1818
{
@@ -74,12 +74,12 @@ public function testItCanGetRelatedValueForForms()
7474
$model = new ModelThatUsesForms($this->modelData);
7575
$this->assertEquals($model->getFormValue('address.street'), 'abcde st');
7676
}
77-
77+
7878
public function testItCanUseGetAccessorValuesWhenThereAreNoFormAccessors()
7979
{
8080
$model = new ModelThatUsesForms($this->modelData);
8181
$this->formBuilder->setModel($model);
82-
82+
8383
$this->assertEquals($this->formBuilder->getValueAttribute('email'), '[email protected]');
8484
}
8585

tests/FormBuilderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
use Illuminate\Session\Store;
1212
use Mockery as m;
1313

14-
class FormBuilderTest extends PHPUnit_Framework_TestCase
14+
class FormBuilderTest extends PHPUnit\Framework\TestCase
1515
{
1616
/**
1717
* @var FormBuilder

tests/HtmlBuilderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
use Illuminate\Routing\UrlGenerator;
88
use Mockery as m;
99

10-
class HtmlBuilderTest extends PHPUnit_Framework_TestCase
10+
class HtmlBuilderTest extends PHPUnit\Framework\TestCase
1111
{
1212

1313
/**

0 commit comments

Comments
 (0)