]> diplodocus.org Git - nmh/blobdiff - test/oauth/test-mhlogin
Replaced -oauth service switch with -saslmech xoauth2
[nmh] / test / oauth / test-mhlogin
index b7287a4117e901b99772ae52375dc11a77185681..c6c026184fc4a38c5d9bdd75d091dc86eecde814 100755 (executable)
@@ -18,7 +18,7 @@ expect_no_creds() {
 
 test_mhlogin() {
     start_fakehttp
-    run_test 'eval echo code | mhlogin -oauth test' \
+    run_test 'eval echo code | mhlogin -saslmech xoauth2 -authservice test' \
 "Load the following URL in your browser and authorize nmh to access test:
 
 http://127.0.0.1:${http_port}/oauth/auth?response_type=code&client_id=test-id&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=test-scope