mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-10-01 01:26:10 -04:00
43a439e7d0
This fixes issue 2.7 of https://defuse.ca/audits/zerobin.htm, and thus (with commit a24212afda90ca3e4b4ff5ce30d2012709b58a28) also issue 2.8. (cherry picked from commit 0b4db7ece313dd268e51fc47a0293a649927558a) Conflicts: index.php |
||
---|---|---|
.. | ||
zerobin | ||
auto.php | ||
bootstrap.php | ||
filter.php | ||
mcrypt_mock.php | ||
phpunit.xml | ||
RainTPL.php | ||
README.md | ||
sjcl.php | ||
trafficlimiter.php | ||
vizhash16x16.php |
Running unit tests
In order to run these tests, you will need to install the following packages and its dependencies:
- phpunit
- php5-gd
- php5-sqlite
- php5-xdebug
Example for Debian and Ubuntu: $ sudo aptitude install phpunit php5-mysql php5-xdebug
To run the tests, just change into this directory and run phpunit: $ cd ZeroBin/tst $ phpunit