Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/B8Framework/CacheTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use b8\Config, b8\Cache;

class CacheTest extends \PHPUnit_Framework_TestCase
class CacheTest extends \PHPUnit\Framework\TestCase
{
public function testCreateSingleton()
{
Expand Down
2 changes: 1 addition & 1 deletion tests/B8Framework/DatabaseTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use b8\Config;
use b8\Database;

class DatabaseTest extends \PHPUnit_Framework_TestCase
class DatabaseTest extends \PHPUnit\Framework\TestCase
{
protected function setUp()
{
Expand Down
2 changes: 1 addition & 1 deletion tests/B8Framework/FormTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use b8\Form, b8\Config;

class FormTest extends \PHPUnit_Framework_TestCase
class FormTest extends \PHPUnit\Framework\TestCase
{
public function testFormBasics()
{
Expand Down
2 changes: 1 addition & 1 deletion tests/B8Framework/HttpExceptionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use b8\Exception\HttpException;

class HttpExceptionTest extends \PHPUnit_Framework_TestCase
class HttpExceptionTest extends \PHPUnit\Framework\TestCase
{
public function testHttpExceptionIsException()
{
Expand Down
2 changes: 1 addition & 1 deletion tests/B8Framework/ViewTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use b8\View;
use b8\View\Template;

class ViewTest extends \PHPUnit_Framework_TestCase
class ViewTest extends \PHPUnit\Framework\TestCase
{
public function testSimpleView()
{
Expand Down
2 changes: 1 addition & 1 deletion tests/PHPCensor/Command/CreateAdminCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Symfony\Component\Console\Application;
use Symfony\Component\Console\Tester\CommandTester;

class CreateAdminCommandTest extends \PHPUnit_Framework_TestCase
class CreateAdminCommandTest extends \PHPUnit\Framework\TestCase
{
/**
* @var \PHPCensor\Command\CreateAdminCommand|\PHPUnit_Framework_MockObject_MockObject
Expand Down
2 changes: 1 addition & 1 deletion tests/PHPCensor/Command/CreateBuildCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Symfony\Component\Console\Application;
use Symfony\Component\Console\Tester\CommandTester;

class CreateBuildCommandTest extends \PHPUnit_Framework_TestCase
class CreateBuildCommandTest extends \PHPUnit\Framework\TestCase
{
/**
* @var \PHPCensor\Command\CreateAdminCommand|\PHPUnit_Framework_MockObject_MockObject
Expand Down
2 changes: 1 addition & 1 deletion tests/PHPCensor/Command/InstallCommandTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Symfony\Component\Console\Tester\CommandTester;
use Symfony\Component\Console\Helper\HelperSet;

class InstallCommandTest extends \PHPUnit_Framework_TestCase
class InstallCommandTest extends \PHPUnit\Framework\TestCase
{
public $config;

Expand Down
2 changes: 1 addition & 1 deletion tests/PHPCensor/Controller/WebhookControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use PHPCensor\Controller\WebhookController;

class WebhookControllerTest extends \PHPUnit_Framework_TestCase
class WebhookControllerTest extends \PHPUnit\Framework\TestCase
{
public function test_wrong_action_name_return_json_with_error()
{
Expand Down
4 changes: 2 additions & 2 deletions tests/PHPCensor/Helper/AnsiConverterTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
namespace Tests\PHPCensor\Helper;

use PHPCensor\Helper\AnsiConverter;
use PHPUnit_Framework_TestCase;
use PHPUnit\Framework\TestCase;

class AnsiConverterTest extends PHPUnit_Framework_TestCase
class AnsiConverterTest extends TestCase
{
public function testConvert_convertToHtml()
{
Expand Down
2 changes: 1 addition & 1 deletion tests/PHPCensor/Helper/BuildInterpolatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use PHPCensor\Helper\BuildInterpolator;

class BuildInterpolatorTest extends \PHPUnit_Framework_TestCase
class BuildInterpolatorTest extends \PHPUnit\Framework\TestCase
{
/**
* @var BuildInterpolator
Expand Down
2 changes: 1 addition & 1 deletion tests/PHPCensor/Helper/CommandExecutorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use PHPCensor\Helper\CommandExecutor;

class CommandExecutorTest extends \PHPUnit_Framework_TestCase
class CommandExecutorTest extends \PHPUnit\Framework\TestCase
{
/**
* @var CommandExecutor
Expand Down
2 changes: 1 addition & 1 deletion tests/PHPCensor/Helper/MailerFactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
* Unit tests for the ProjectService class.
* @author Dan Cryer <dan@block8.co.uk>
*/
class MailerFactoryTest extends \PHPUnit_Framework_TestCase
class MailerFactoryTest extends \PHPUnit\Framework\TestCase
{
public function setUp()
{
Expand Down
2 changes: 1 addition & 1 deletion tests/PHPCensor/LocalizationTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Tests\PHPCensor;

class LocalizationTestCase extends \PHPUnit_Framework_TestCase
class LocalizationTestCase extends \PHPUnit\Framework\TestCase
{
/**
* Returns a string representation of the test case.
Expand Down
2 changes: 1 addition & 1 deletion tests/PHPCensor/Logging/BuildLoggerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Prophecy\Argument;
use Psr\Log\LogLevel;

class BuildLoggerTest extends \PHPUnit_Framework_TestCase
class BuildLoggerTest extends \PHPUnit\Framework\TestCase
{
/**
* @var BuildLogger
Expand Down
2 changes: 1 addition & 1 deletion tests/PHPCensor/Logging/LoggerConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use \PHPCensor\Logging\LoggerConfig;

class LoggerConfigTest extends \PHPUnit_Framework_TestCase
class LoggerConfigTest extends \PHPUnit\Framework\TestCase
{
public function testGetFor_ReturnsPSRLogger()
{
Expand Down
2 changes: 1 addition & 1 deletion tests/PHPCensor/Model/BuildTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @author Dan Cryer <dan@block8.co.uk>
*/
class BuildTest extends \PHPUnit_Framework_TestCase
class BuildTest extends \PHPUnit\Framework\TestCase
{
public function setUp()
{
Expand Down
2 changes: 1 addition & 1 deletion tests/PHPCensor/Model/ProjectTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @author Dan Cryer <dan@block8.co.uk>
*/
class ProjectTest extends \PHPUnit_Framework_TestCase
class ProjectTest extends \PHPUnit\Framework\TestCase
{
public function testExecute_TestIsAValidModel()
{
Expand Down
2 changes: 1 addition & 1 deletion tests/PHPCensor/Plugin/EmailTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*
* @author meadsteve
*/
class EmailTest extends \PHPUnit_Framework_TestCase
class EmailTest extends \PHPUnit\Framework\TestCase
{

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/PHPCensor/Plugin/Option/PhpUnitOptionsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*
* @author Pablo Tejada <pablo@ptejada.com>
*/
class PhpUnitOptionsTest extends \PHPUnit_Framework_TestCase
class PhpUnitOptionsTest extends \PHPUnit\Framework\TestCase
{
public function validOptionsProvider()
{
Expand Down
2 changes: 1 addition & 1 deletion tests/PHPCensor/Plugin/PharTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use PHPCensor\Plugin\Phar as PharPlugin;
use Phar as PHPPhar;

class PharTest extends \PHPUnit_Framework_TestCase
class PharTest extends \PHPUnit\Framework\TestCase
{
protected $directory;

Expand Down
2 changes: 1 addition & 1 deletion tests/PHPCensor/Plugin/PhpUnitTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @author Pablo Tejada <pablo@ptejada.com>
*/
class PhpUnitTest extends \PHPUnit_Framework_TestCase
class PhpUnitTest extends \PHPUnit\Framework\TestCase
{
public function testSingleConfigFile()
{
Expand Down
2 changes: 1 addition & 1 deletion tests/PHPCensor/Plugin/Util/ExecutorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use PHPCensor\Plugin\Util\Executor;
use Prophecy\Argument;

class ExecutorTest extends \PHPUnit_Framework_TestCase
class ExecutorTest extends \PHPUnit\Framework\TestCase
{
/**
* @var Executor
Expand Down
2 changes: 1 addition & 1 deletion tests/PHPCensor/Plugin/Util/FactoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use PHPCensor\Plugin\Util\Factory;

class FactoryTest extends \PHPUnit_Framework_TestCase {
class FactoryTest extends \PHPUnit\Framework\TestCase {

/**
* @var \PHPCensor\Plugin\Util\Factory
Expand Down
2 changes: 1 addition & 1 deletion tests/PHPCensor/Plugin/Util/PhpUnitResultTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* @package PHPCI
* @subpackage Plugin
*/
class PhpUnitResultTest extends \PHPUnit_Framework_TestCase
class PhpUnitResultTest extends \PHPUnit\Framework\TestCase
{
/**
* Skipped test results
Expand Down
2 changes: 1 addition & 1 deletion tests/PHPCensor/ProcessControl/ProcessControlTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
/**
* Some helpers to
*/
abstract class ProcessControlTest extends \PHPUnit_Framework_TestCase
abstract class ProcessControlTest extends \PHPUnit\Framework\TestCase
{
/**
* @var resource
Expand Down
2 changes: 1 addition & 1 deletion tests/PHPCensor/Security/Authentication/ServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use PHPCensor\Security\Authentication\Service;

class ServiceTest extends \PHPUnit_Framework_TestCase
class ServiceTest extends \PHPUnit\Framework\TestCase
{
public function testGetInstance()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use PHPCensor\Model\User;
use PHPCensor\Security\Authentication\UserProvider\Internal;

class InternalTest extends \PHPUnit_Framework_TestCase
class InternalTest extends \PHPUnit\Framework\TestCase
{
/**
* @var Internal
Expand Down
2 changes: 1 addition & 1 deletion tests/PHPCensor/Service/BuildServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*
* @author Dan Cryer <dan@block8.co.uk>
*/
class BuildServiceTest extends \PHPUnit_Framework_TestCase
class BuildServiceTest extends \PHPUnit\Framework\TestCase
{

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/PHPCensor/Service/BuiltStatusServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*
* @author Dan Cryer <dan@block8.co.uk>
*/
class BuildStatusServiceTest extends \PHPUnit_Framework_TestCase
class BuildStatusServiceTest extends \PHPUnit\Framework\TestCase
{
const BRANCH = 'master';

Expand Down
2 changes: 1 addition & 1 deletion tests/PHPCensor/Service/ProjectServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @author Dan Cryer <dan@block8.co.uk>
*/
class ProjectServiceTest extends \PHPUnit_Framework_TestCase
class ProjectServiceTest extends \PHPUnit\Framework\TestCase
{

/**
Expand Down
2 changes: 1 addition & 1 deletion tests/PHPCensor/Service/UserServiceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
*
* @author Dan Cryer <dan@block8.co.uk>
*/
class UserServiceTest extends \PHPUnit_Framework_TestCase
class UserServiceTest extends \PHPUnit\Framework\TestCase
{

/**
Expand Down