alltube/tests/bootstrap.php
Pierre Rudloff bc695cfa15 Lint
2020-05-13 21:33:05 +02:00

18 lines
362 B
PHP

<?php
/**
* File used to bootstrap tests.
*/
use phpmock\mockery\PHPMockery;
// Composer autoload.
require_once __DIR__ . '/../vendor/autoload.php';
ini_set('session.use_cookies', '0');
session_cache_limiter('');
session_start();
// See https://bugs.php.net/bug.php?id=68541
PHPMockery::define('Alltube', 'popen');
PHPMockery::define('Alltube', 'fopen');