+ /**
+ * Test wallabag init without errors.
+ */
+ public function testWallabagInitNoError()
+ {
+ $conf = new ConfigManager('');
+ $conf->set('plugins.WALLABAG_URL', 'value');
+ $errors = wallabag_init($conf);
+ $this->assertEmpty($errors);
+ }
+
+ /**
+ * Test wallabag init with errors.
+ */
+ public function testWallabagInitError()
+ {
+ $conf = new ConfigManager('');
+ $errors = wallabag_init($conf);
+ $this->assertNotEmpty($errors);
+ }
+