mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2024-12-25 15:29:23 -05:00
Fix phpunit doc missing crucial step of installing GCS
I tried following the steps when running, for https://github.com/PrivateBin/PrivateBin/pull/1421, but this crucial one step is missing. Maybe more was missing, most tests failed so hmm… but I only wanted it for the SRI generation and this was hard enough. (And no, I did not feel like trying to run a container in a [dev]container, so these manual steps should better work.) Maybe we can improve that further here, I the things I've noticed in this or the other PR.
This commit is contained in:
parent
702831ea38
commit
5b245a3f85
@ -43,6 +43,11 @@ Example for Debian and Ubuntu:
|
|||||||
$ sudo apt install phpunit php-gd php-sqlite3 php-xdebug
|
$ sudo apt install phpunit php-gd php-sqlite3 php-xdebug
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Because the unit tests depend on this, you also need to install the optional. Otherwise they won't run:
|
||||||
|
```console
|
||||||
|
composer require google/cloud-storage
|
||||||
|
```
|
||||||
|
|
||||||
To run the tests, change into the `tst` directory and run phpunit:
|
To run the tests, change into the `tst` directory and run phpunit:
|
||||||
|
|
||||||
```console
|
```console
|
||||||
|
Loading…
Reference in New Issue
Block a user