mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-10-01 01:26:10 -04:00
giving up on HHVM unit tests for now, will open an issue for it
This commit is contained in:
parent
c175abaf77
commit
d664af6ce5
@ -4,7 +4,6 @@ php:
|
||||
- 5.5
|
||||
- 5.6
|
||||
- 7.0
|
||||
- hhvm
|
||||
|
||||
before_script:
|
||||
- composer install -n
|
||||
|
@ -1,6 +1,5 @@
|
||||
<?php
|
||||
error_reporting( E_ALL | E_STRICT );
|
||||
ini_set('hhvm.xenon.period', '0');
|
||||
|
||||
// change this, if your php files and data is outside of your webservers document root
|
||||
if (!defined('PUBLIC_PATH')) define('PUBLIC_PATH', '..');
|
||||
|
@ -187,7 +187,6 @@ class zerobinTest extends PHPUnit_Framework_TestCase
|
||||
$_SERVER['HTTP_X_REQUESTED_WITH'] = 'JSONHttpRequest';
|
||||
$_SERVER['REQUEST_METHOD'] = 'POST';
|
||||
$_SERVER['REMOTE_ADDR'] = '::1';
|
||||
trafficlimiter::setLimit(30);
|
||||
trafficlimiter::canPass();
|
||||
ob_start();
|
||||
new zerobin;
|
||||
|
Loading…
Reference in New Issue
Block a user