1
0
mirror of https://github.com/Rudloff/alltube.git synced 2024-06-21 06:56:40 +02:00
alltube/tests/bootstrap.php
Pierre Rudloff bc695cfa15 Lint
2020-05-13 21:33:05 +02:00

19 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');