]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - tests/netscape/BookmarkExportTest.php
Fix missing @expectedException convertion
[github/shaarli/Shaarli.git] / tests / netscape / BookmarkExportTest.php
index adf62f4f249248bd943acd2743abf0f50529350d..9b95ccc9eaf9338fbbed007ef63b1f300450ed6a 100644 (file)
@@ -77,10 +77,10 @@ class BookmarkExportTest extends TestCase
 
     /**
      * Attempt to export an invalid link selection
-     * @expectedException              Exception
      */
     public function testFilterAndFormatInvalid()
     {
+        $this->expectException(\Exception::class);
         $this->expectExceptionMessageRegExp('/Invalid export selection/');
 
         $this->netscapeBookmarkUtils->filterAndFormat(