Avoid dumping big stack traces from unit tests.
[lhc/web/wiklou.git] / tests / phpunit / includes / import / ImportLinkCacheIntegrationTest.php
index bdb4831..076924c 100644 (file)
@@ -89,20 +89,11 @@ class ImportLinkCacheIntegrationTest extends MediaWikiTestCase {
 
                $reporter->setContext( new RequestContext() );
                $reporter->open();
-               $exception = false;
 
-               try {
-                       $importer->doImport();
-               } catch ( Exception $e ) {
-                       $exception = $e;
-               }
+               $importer->doImport();
 
                $result = $reporter->close();
 
-               $this->assertFalse(
-                       $exception
-               );
-
                $this->assertTrue(
                        $result->isGood()
                );