alltube/tests/bootstrap.php
Pierre Rudloff feb8998188 fixup! Typo
2019-04-21 09:21:24 +02:00

20 lines
372 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');