userver: userver/storages/mongo/utest/mongo_fixture.hpp Source File
Loading...
Searching...
No Matches
mongo_fixture.hpp
Go to the documentation of this file.
1#pragma once
2
5
7
9
10USERVER_NAMESPACE_BEGIN
11
12namespace storages::mongo::utest {
13
20// NOLINTNEXTLINE(fuchsia-multiple-inheritance)
21class MongoTest : public ::testing::Test, public MongoLocal {
22public:
23 MongoTest() { GetPool()->DropDatabase(); }
24};
25
26} // namespace storages::mongo::utest
27
28USERVER_NAMESPACE_END