1
0
Sobak 5d7003ecc1 Convert to PSR-2 coding style (using phpcs-fixer) 10 жил өмнө
..
privatebin 5d7003ecc1 Convert to PSR-2 coding style (using phpcs-fixer) 10 жил өмнө
.gitignore 5a9879623f added incorrectly ignored unit test file, correcting ignore 10 жил өмнө
.htaccess 535710cdd6 Add htaccess to prevent template access 10 жил өмнө
README.md 79509ad48a renaming the fork to PrivateBin 10 жил өмнө
bootstrap.php 5d7003ecc1 Convert to PSR-2 coding style (using phpcs-fixer) 10 жил өмнө
configGenerator.php 5d7003ecc1 Convert to PSR-2 coding style (using phpcs-fixer) 10 жил өмнө
configuration.php 5d7003ecc1 Convert to PSR-2 coding style (using phpcs-fixer) 10 жил өмнө
filter.php 54f96b9938 Introduce PSR-4 autoloading 10 жил өмнө
i18n.php 54f96b9938 Introduce PSR-4 autoloading 10 жил өмнө
jsonApi.php 5d7003ecc1 Convert to PSR-2 coding style (using phpcs-fixer) 10 жил өмнө
model.php 5d7003ecc1 Convert to PSR-2 coding style (using phpcs-fixer) 10 жил өмнө
phpunit.xml 54f96b9938 Introduce PSR-4 autoloading 10 жил өмнө
privatebin.php 5d7003ecc1 Convert to PSR-2 coding style (using phpcs-fixer) 10 жил өмнө
privatebinWithDb.php 5d7003ecc1 Convert to PSR-2 coding style (using phpcs-fixer) 10 жил өмнө
purgelimiter.php 5d7003ecc1 Convert to PSR-2 coding style (using phpcs-fixer) 10 жил өмнө
request.php 54f96b9938 Introduce PSR-4 autoloading 10 жил өмнө
serversalt.php 5d7003ecc1 Convert to PSR-2 coding style (using phpcs-fixer) 10 жил өмнө
sjcl.php 54f96b9938 Introduce PSR-4 autoloading 10 жил өмнө
test.ini 79509ad48a renaming the fork to PrivateBin 10 жил өмнө
trafficlimiter.php 54f96b9938 Introduce PSR-4 autoloading 10 жил өмнө
view.php 54f96b9938 Introduce PSR-4 autoloading 10 жил өмнө
vizhash16x16.php 5d7003ecc1 Convert to PSR-2 coding style (using phpcs-fixer) 10 жил өмнө

README.md

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-gd php5-sqlite php5-xdebug

To run the tests, just change into this directory and run phpunit:

$ cd PrivateBin/tst
$ phpunit