El RIDO 9bde729cb5 Merge pull request #54 from Sobak/coding-style пре 10 година
..
privatebin 5d7003ecc1 Convert to PSR-2 coding style (using phpcs-fixer) пре 10 година
.gitignore 5a9879623f added incorrectly ignored unit test file, correcting ignore пре 11 година
.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 9bde729cb5 Merge pull request #54 from Sobak/coding-style пре 10 година
model.php 5d7003ecc1 Convert to PSR-2 coding style (using phpcs-fixer) пре 10 година
phpunit.xml 54f96b9938 Introduce PSR-4 autoloading пре 10 година
privatebin.php 9bde729cb5 Merge pull request #54 from Sobak/coding-style пре 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