DatabaseTransactions and mongodb
ozanuzer opened this issue · comments
- Laravel-mongodb Version: 4.1.1
- PHP Version: 8.3.3
- Database Driver & Version: php mongodb extension 1.17.2 & MongoDB 7.0.2 Community
Description:
Hello, I am trying to run unit test and test including inserting and fetch data with mongodb. When I run test I am facing "Transaction numbers are only allowed on a replica set member or mongos". When I googling it, I can see "use DatabaseTransactions;" is problem. How can I fix that? I am using macos.