From 146838a614a09630a67148507364ffeed50d029c Mon Sep 17 00:00:00 2001
From: Oliver Gutierrez <ogutsua@gmail.com>
Date: Fri, 20 Aug 2021 10:37:29 +0100
Subject: [PATCH] Fixed errors in gating ansible playbook

---
 tests/roles/run_bats_tests/tasks/run_one_test.yml | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/tests/roles/run_bats_tests/tasks/run_one_test.yml b/tests/roles/run_bats_tests/tasks/run_one_test.yml
index b44ed42..839e64d 100644
--- a/tests/roles/run_bats_tests/tasks/run_one_test.yml
+++ b/tests/roles/run_bats_tests/tasks/run_one_test.yml
@@ -2,7 +2,7 @@
 - name: "{{ test.name }} | install test packages"
   dnf: name="{{ test.package }}-tests" state=installed
 
-- name: "{{ test.name }} | define helper variables"
+- name: "{{ test.name }} | define helper variables" 
   set_fact:
     test_name_oneword: "{{ test.name | replace(' ','-') }}"
 
@@ -15,7 +15,6 @@
     local_environment:
       TEST_NAME:    "{{ test.name }}"
       TEST_PACKAGE: "{{ test.package }}"
-      TEST_ENV:     "{{ test.environment }}"
 
 - name: "{{ test.name }} | setup/teardown helper | see if exists"
   local_action: stat path={{ role_path }}/files/helper.{{ test_name_oneword }}.sh
@@ -31,7 +30,6 @@
     chdir: /usr/share/{{ test.package }}/test/system
   become: "{{ true if test.become is defined else false }}"
   become_user: testuser
-  environment: "{{ local_environment | combine(test.environment) }}"
 
 - name: "{{ test.name }} | pull logs"
   fetch: