summaryrefslogtreecommitdiffstats
path: root/tests/modules/common/qtmir_test.h
diff options
context:
space:
mode:
authorAlan Griffiths <alan@octopull.co.uk>2014-11-28 16:26:33 +0000
committerAlan Griffiths <alan@octopull.co.uk>2014-11-28 16:26:33 +0000
commit3bc65543d24dcebe003be04c5b82f0af6dae2abb (patch)
treee3163a5eac5e1f9d021c10564ca63cfe87e91a40 /tests/modules/common/qtmir_test.h
parent1a90b3c78fa5f2ceb608af4d55ca8c5e508191c2 (diff)
Quick spike to test API
Diffstat (limited to 'tests/modules/common/qtmir_test.h')
-rw-r--r--tests/modules/common/qtmir_test.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/tests/modules/common/qtmir_test.h b/tests/modules/common/qtmir_test.h
index d6ecaca..52b05b1 100644
--- a/tests/modules/common/qtmir_test.h
+++ b/tests/modules/common/qtmir_test.h
@@ -49,12 +49,7 @@ public:
: MirServerConfiguration(0, nullptr)
, mock_prompt_session_manager(std::make_shared<StubPromptSessionManager>())
{
- }
-
- std::shared_ptr<ms::PromptSessionManager> the_prompt_session_manager() override
- {
- return prompt_session_manager([this]()
- ->std::shared_ptr<ms::PromptSessionManager>
+ override_the_prompt_session_manager([this]
{
return the_mock_prompt_session_manager();
});