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

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