X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2FWallabag%2FImportBundle%2FImport%2FImportCompilerPassTest.php;h=e0e90ae3e844add4a6b6103ad541a6518cc6bc88;hb=ef5c8a7d01d7b3f0041455503499ab67e2206e0d;hp=71a007a9c7c742614477fc5f9268be497efa25eb;hpb=f49d9ca383c9f8a1bc426cfabf6b1cea53ea26b4;p=github%2Fwallabag%2Fwallabag.git diff --git a/tests/Wallabag/ImportBundle/Import/ImportCompilerPassTest.php b/tests/Wallabag/ImportBundle/Import/ImportCompilerPassTest.php index 71a007a9..e0e90ae3 100644 --- a/tests/Wallabag/ImportBundle/Import/ImportCompilerPassTest.php +++ b/tests/Wallabag/ImportBundle/Import/ImportCompilerPassTest.php @@ -2,10 +2,11 @@ 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() { @@ -36,7 +37,7 @@ class ImportCompilerPassTest extends \PHPUnit_Framework_TestCase $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)