From be821845e206a8dd0a6a7f7a814e70f5edd3b039 Mon Sep 17 00:00:00 2001
From: Ricardo Carrillo Cruz <ricardo.carrillo.cruz@gmail.com>
Date: Fri, 27 Oct 2017 17:52:56 +0200
Subject: [PATCH] Fix eos_user tests (#32261)

---
 test/integration/targets/eos_user/tests/cli/basic.yaml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/test/integration/targets/eos_user/tests/cli/basic.yaml b/test/integration/targets/eos_user/tests/cli/basic.yaml
index fe8bc9b5a67..381f25b4c71 100644
--- a/test/integration/targets/eos_user/tests/cli/basic.yaml
+++ b/test/integration/targets/eos_user/tests/cli/basic.yaml
@@ -60,11 +60,11 @@
     that:
       - 'result.changed == true'
       - '"username" in result.commands[0]'
-      - '"role network-operator" in result.commands[0]'
-      - '"secret" in result.commands[1]'
+      - '"role network-operator" in result.commands[1]'
+      - '"secret" in result.commands[0]'
       - '"username" in result.commands[2]'
-      - '"role network-operator" in result.commands[2]'
-      - '"secret" in result.commands[3]'
+      - '"role network-operator" in result.commands[3]'
+      - '"secret" in result.commands[2]'
 
 - name: Add user without password or nopassword arg(Should fail)
   eos_user: