Skip to content

Commit

Permalink
Fix after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
lordgamez committed Nov 19, 2024
1 parent 0c23c85 commit d15c53f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions extensions/couchbase/tests/GetCouchbaseKeyTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,9 @@ struct ExpectedCallOptions {

class GetCouchbaseKeyTestController : public TestController {
public:
GetCouchbaseKeyTestController() {
GetCouchbaseKeyTestController()
: controller_(std::make_unique<processors::GetCouchbaseKey>("GetCouchbaseKey")),
proc_(controller_.getProcessor()) {
LogTestController::getInstance().setDebug<TestPlan>();
LogTestController::getInstance().setDebug<minifi::core::Processor>();
LogTestController::getInstance().setTrace<minifi::core::ProcessSession>();
Expand Down Expand Up @@ -97,8 +99,8 @@ class GetCouchbaseKeyTestController : public TestController {
}

protected:
std::shared_ptr<core::Processor> proc_ = std::make_shared<processors::GetCouchbaseKey>("GetCouchbaseKey");
minifi::test::SingleProcessorTestController controller_{proc_};
minifi::test::SingleProcessorTestController controller_;
core::Processor* proc_ = nullptr;
std::shared_ptr<MockCouchbaseClusterService> mock_couchbase_cluster_service_;
};

Expand Down

0 comments on commit d15c53f

Please sign in to comment.