Skip to content

is it possible to use it with mongodb? #811

Discussion options

You must be logged in to vote

I think your postgresql database configuration already keeps the TEST_TOKEN in mind. But you need todo the same for MongoDB. It is based on your framework how you can configure your mongodb connection but you can just post or prefix it with the TEST_TOKEN normally:

'mongodb' => [
    'database' => env('DB_DATABASE', 'homestead') . getenv('TEST_TOKEN),
],

See official docs: https://github.com/paratestphp/paratest#test-token

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Jean85
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants
Converted from issue

This discussion was converted from issue #776 on October 20, 2023 09:00.