Unverified Commit fffea8b2 authored by Freek Van der Herten's avatar Freek Van der Herten Committed by GitHub
Browse files

Merge pull request #20 from gabriel-caruso/phpunit-6

Update to PHPUnit 6
parents 7ef87075 20951a44
......@@ -21,7 +21,7 @@
"spatie/macroable": "^1.0"
},
"require-dev": {
"phpunit/phpunit": "5.*"
"phpunit/phpunit": "^6.4"
},
"autoload": {
"psr-4": {
......
......@@ -2,9 +2,10 @@
namespace Spatie\Url\Test;
use PHPUnit\Framework\TestCase;
use Spatie\Url\QueryParameterBag;
class QueryParameterBagTest extends \PHPUnit_Framework_TestCase
class QueryParameterBagTest extends TestCase
{
/** @test */
public function it_can_get_a_parameter()
......
......@@ -3,9 +3,10 @@
namespace Spatie\Url\Test;
use Spatie\Url\Url;
use PHPUnit\Framework\TestCase;
use Spatie\Url\Exceptions\InvalidArgument;
class UrlBuildTest extends \PHPUnit_Framework_TestCase
class UrlBuildTest extends TestCase
{
/** @test */
public function it_can_build_a_url_with_a_host()
......
......@@ -3,8 +3,9 @@
namespace Spatie\Url\Test;
use Spatie\Url\Url;
use PHPUnit\Framework\TestCase;
class UrlImmutableTest extends \PHPUnit_Framework_TestCase
class UrlImmutableTest extends TestCase
{
/** @test */
public function with_scheme_returns_a_new_instance()
......
......@@ -3,8 +3,9 @@
namespace Spatie\Url\Test;
use Spatie\Url\Url;
use PHPUnit\Framework\TestCase;
class UrlMatchesTest extends \PHPUnit_Framework_TestCase
class UrlMatchesTest extends TestCase
{
/** @test */
public function it_can_check_if_it_matches_another_url()
......
......@@ -3,9 +3,10 @@
namespace Spatie\Url\Test;
use Spatie\Url\Url;
use PHPUnit\Framework\TestCase;
use Spatie\Url\Exceptions\InvalidArgument;
class UrlParseTest extends \PHPUnit_Framework_TestCase
class UrlParseTest extends TestCase
{
/** @test */
public function it_can_parse_a_scheme()
......
......@@ -3,8 +3,9 @@
namespace Spatie\Url\Test;
use Spatie\Url\Url;
use PHPUnit\Framework\TestCase;
class UrlQueryParametersTest extends \PHPUnit_Framework_TestCase
class UrlQueryParametersTest extends TestCase
{
/** @test */
public function it_can_get_a_query_parameter()
......
......@@ -3,9 +3,10 @@
namespace Spatie\Url\Test;
use Spatie\Url\Url;
use PHPUnit\Framework\TestCase;
use Spatie\Url\Exceptions\InvalidArgument;
class UrlSegmentTest extends \PHPUnit_Framework_TestCase
class UrlSegmentTest extends TestCase
{
/** @test */
public function it_can_return_all_path_segments()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment