parent
f063f2ead4
commit
44bf858c35
35 changed files with 101 additions and 67 deletions
|
@ -1,20 +1,18 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* File used to bootstrap tests.
|
||||
*/
|
||||
|
||||
use phpmock\mockery\PHPMockery;
|
||||
|
||||
/**
|
||||
* Composer autoload.
|
||||
*/
|
||||
require_once __DIR__.'/../vendor/autoload.php';
|
||||
// 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
|
||||
*/
|
||||
// See https://bugs.php.net/bug.php?id=68541
|
||||
PHPMockery::define('Alltube', 'popen');
|
||||
PHPMockery::define('Alltube', 'fopen');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue