Skip to content

Commit

Permalink
Update to PHPUnit namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
peterrehm authored and fabpot committed Feb 18, 2017
1 parent b69961e commit 550a966
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 6 deletions.
3 changes: 2 additions & 1 deletion Tests/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@

namespace Symfony\Component\BrowserKit\Tests;

use PHPUnit\Framework\TestCase;
use Symfony\Component\BrowserKit\Client;
use Symfony\Component\BrowserKit\History;
use Symfony\Component\BrowserKit\CookieJar;
Expand Down Expand Up @@ -71,7 +72,7 @@ protected function getScript($request)
}
}

class ClientTest extends \PHPUnit_Framework_TestCase
class ClientTest extends TestCase
{
public function testGetHistory()
{
Expand Down
3 changes: 2 additions & 1 deletion Tests/CookieJarTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@

namespace Symfony\Component\BrowserKit\Tests;

use PHPUnit\Framework\TestCase;
use Symfony\Component\BrowserKit\CookieJar;
use Symfony\Component\BrowserKit\Cookie;
use Symfony\Component\BrowserKit\Response;

class CookieJarTest extends \PHPUnit_Framework_TestCase
class CookieJarTest extends TestCase
{
public function testSetGet()
{
Expand Down
3 changes: 2 additions & 1 deletion Tests/CookieTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@

namespace Symfony\Component\BrowserKit\Tests;

use PHPUnit\Framework\TestCase;
use Symfony\Component\BrowserKit\Cookie;

class CookieTest extends \PHPUnit_Framework_TestCase
class CookieTest extends TestCase
{
/**
* @dataProvider getTestsForToFromString
Expand Down
3 changes: 2 additions & 1 deletion Tests/HistoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@

namespace Symfony\Component\BrowserKit\Tests;

use PHPUnit\Framework\TestCase;
use Symfony\Component\BrowserKit\History;
use Symfony\Component\BrowserKit\Request;

class HistoryTest extends \PHPUnit_Framework_TestCase
class HistoryTest extends TestCase
{
public function testAdd()
{
Expand Down
3 changes: 2 additions & 1 deletion Tests/RequestTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@

namespace Symfony\Component\BrowserKit\Tests;

use PHPUnit\Framework\TestCase;
use Symfony\Component\BrowserKit\Request;

class RequestTest extends \PHPUnit_Framework_TestCase
class RequestTest extends TestCase
{
public function testGetUri()
{
Expand Down
3 changes: 2 additions & 1 deletion Tests/ResponseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@

namespace Symfony\Component\BrowserKit\Tests;

use PHPUnit\Framework\TestCase;
use Symfony\Component\BrowserKit\Response;

class ResponseTest extends \PHPUnit_Framework_TestCase
class ResponseTest extends TestCase
{
public function testGetUri()
{
Expand Down

0 comments on commit 550a966

Please sign in to comment.