El RIDO 9bde729cb5 Merge pull request #54 from Sobak/coding-style vor 10 Jahren
..
privatebin 5d7003ecc1 Convert to PSR-2 coding style (using phpcs-fixer) vor 10 Jahren
.gitignore 5a9879623f added incorrectly ignored unit test file, correcting ignore vor 10 Jahren
.htaccess 535710cdd6 Add htaccess to prevent template access vor 10 Jahren
README.md 79509ad48a renaming the fork to PrivateBin vor 10 Jahren
bootstrap.php 5d7003ecc1 Convert to PSR-2 coding style (using phpcs-fixer) vor 10 Jahren
configGenerator.php 5d7003ecc1 Convert to PSR-2 coding style (using phpcs-fixer) vor 10 Jahren
configuration.php 5d7003ecc1 Convert to PSR-2 coding style (using phpcs-fixer) vor 10 Jahren
filter.php 54f96b9938 Introduce PSR-4 autoloading vor 10 Jahren
i18n.php 54f96b9938 Introduce PSR-4 autoloading vor 10 Jahren
jsonApi.php 9bde729cb5 Merge pull request #54 from Sobak/coding-style vor 10 Jahren
model.php 5d7003ecc1 Convert to PSR-2 coding style (using phpcs-fixer) vor 10 Jahren
phpunit.xml 54f96b9938 Introduce PSR-4 autoloading vor 10 Jahren
privatebin.php 9bde729cb5 Merge pull request #54 from Sobak/coding-style vor 10 Jahren
privatebinWithDb.php 5d7003ecc1 Convert to PSR-2 coding style (using phpcs-fixer) vor 10 Jahren
purgelimiter.php 5d7003ecc1 Convert to PSR-2 coding style (using phpcs-fixer) vor 10 Jahren
request.php 54f96b9938 Introduce PSR-4 autoloading vor 10 Jahren
serversalt.php 5d7003ecc1 Convert to PSR-2 coding style (using phpcs-fixer) vor 10 Jahren
sjcl.php 54f96b9938 Introduce PSR-4 autoloading vor 10 Jahren
test.ini 79509ad48a renaming the fork to PrivateBin vor 10 Jahren
trafficlimiter.php 54f96b9938 Introduce PSR-4 autoloading vor 10 Jahren
view.php 54f96b9938 Introduce PSR-4 autoloading vor 10 Jahren
vizhash16x16.php 5d7003ecc1 Convert to PSR-2 coding style (using phpcs-fixer) vor 10 Jahren

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