From 2ce8dcf40f22dd4e9cf4a6b1c8f5386993ebba6e Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Thu, 23 Jun 2016 16:44:12 +0200 Subject: Use username instead of just user --- examples/imapresource/tests/imapmailsynctest.cpp | 4 ++-- examples/imapresource/tests/imapmailtest.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'examples/imapresource/tests') diff --git a/examples/imapresource/tests/imapmailsynctest.cpp b/examples/imapresource/tests/imapmailsynctest.cpp index b0d5b22..968cde5 100644 --- a/examples/imapresource/tests/imapmailsynctest.cpp +++ b/examples/imapresource/tests/imapmailsynctest.cpp @@ -48,7 +48,7 @@ protected: auto resource = ApplicationDomain::ImapResource::create("account1"); resource.setProperty("server", "localhost"); resource.setProperty("port", 993); - resource.setProperty("user", "doe"); + resource.setProperty("username", "doe"); resource.setProperty("password", "doe"); return resource; } @@ -58,7 +58,7 @@ protected: auto resource = ApplicationDomain::ImapResource::create("account1"); resource.setProperty("server", "foobar"); resource.setProperty("port", 993); - resource.setProperty("user", "doe"); + resource.setProperty("username", "doe"); resource.setProperty("password", "doe"); return resource; } diff --git a/examples/imapresource/tests/imapmailtest.cpp b/examples/imapresource/tests/imapmailtest.cpp index 82324af..d17d7da 100644 --- a/examples/imapresource/tests/imapmailtest.cpp +++ b/examples/imapresource/tests/imapmailtest.cpp @@ -29,7 +29,7 @@ protected: auto resource = ApplicationDomain::ImapResource::create("account1"); resource.setProperty("server", "localhost"); resource.setProperty("port", 993); - resource.setProperty("user", "doe"); + resource.setProperty("username", "doe"); resource.setProperty("password", "doe"); return resource; } -- cgit v1.2.3