mirror of
https://github.com/owncloud/bookmarks.git
synced 2024-12-01 05:24:11 +01:00
ae81b9dcd2
Dependency Injection for user and db is used througout the controllers The Routing features a consistent rest api The Routing provides some legacy routes, so that for exampe the Android Bookmarks App still works. There is a publicly available api that provides access to bookmarks per user. (This is usefull in connection with the WP Plugin https://github.com/mario-nolte/oc2wp-bookmarks)
16 lines
270 B
PHP
16 lines
270 B
PHP
<?php
|
|
|
|
global $RUNTIME_NOAPPS;
|
|
$RUNTIME_NOAPPS = true;
|
|
|
|
define('PHPUNIT_RUN', 1);
|
|
|
|
require_once __DIR__ . '/../../../lib/base.php';
|
|
|
|
if (!class_exists('PHPUnit_Framework_TestCase')) {
|
|
require_once('PHPUnit/Autoload.php');
|
|
}
|
|
|
|
OC_Hook::clear();
|
|
OC_Log::$enabled = false;
|