namespace Tests\Wallabag\ImportBundle\Import;
+use PHPUnit\Framework\TestCase;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Wallabag\ImportBundle\Import\ImportCompilerPass;
-class ImportCompilerPassTest extends \PHPUnit_Framework_TestCase
+class ImportCompilerPassTest extends TestCase
{
public function testProcessNoDefinition()
{
$this->assertTrue($definition->hasMethodCall('addImport'));
$calls = $definition->getMethodCalls();
- $this->assertEquals('pocket', $calls[0][1][1]);
+ $this->assertSame('pocket', $calls[0][1][1]);
}
protected function process(ContainerBuilder $container)