namespace Shaarli\Netscape;
-use PHPUnit\Framework\TestCase;
use Shaarli\Bookmark\BookmarkFileService;
use Shaarli\Config\ConfigManager;
use Shaarli\Formatter\BookmarkFormatter;
use Shaarli\Formatter\FormatterFactory;
use Shaarli\History;
+use Shaarli\TestCase;
require_once 'tests/utils/ReferenceLinkDB.php';
/**
* Attempt to export an invalid link selection
* @expectedException Exception
- * @expectedExceptionMessageRegExp /Invalid export selection/
*/
public function testFilterAndFormatInvalid()
{
+ $this->expectExceptionMessageRegExp('/Invalid export selection/');
+
$this->netscapeBookmarkUtils->filterAndFormat(
self::$formatter,
'derp',