Skip to content
Discussion options

You must be logged in to vote

PrivateBin doesn't write data to Google Cloud Storage while running PHP unit tests. However, running tests related to Google Cloud Storage requires the google/cloud-storage package to be installed.
You can install it by running composer require google/cloud-storage or use the privatebin/unit-testing Docker image, which contains everything needed to run PHP or JavaScript unit tests.

P.S. The issue of excluding google/cloud-storage from the list of required packages for running unit tests was discussed in #1641

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rugk
Comment options

rugk Jan 8, 2026
Maintainer

Answer selected by elrido
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
3 participants