How to generate Passport oauth_clients for testing database?

I’m testing api endpoint which is authenticated with laravel passport. I’m writing a feature test for checking if oauth/token can return a valid access_token. It is working fine in postman but I am using a different database for testing so when I run the test I’m always getting 400 error. Though I’m able to test all authenticated routes but I’m stuck when I want to test api/login or oauth/token endpoints. I’m running artisan command to install passport for test database. How to get client id and secret?