From eae784ab61f8cfbcbb655669d6d07983d541b2fe Mon Sep 17 00:00:00 2001 From: jakedoublev Date: Wed, 4 Dec 2024 10:39:47 -0800 Subject: [PATCH] fix previously bad tests --- e2e/namespaces.bats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/e2e/namespaces.bats b/e2e/namespaces.bats index 88e77751..dcb0ee99 100755 --- a/e2e/namespaces.bats +++ b/e2e/namespaces.bats @@ -135,7 +135,7 @@ teardown_file() { run_otdfctl_ns deactivate "$NS_ID_FLAG" --force assert_success assert_line --regexp "Id.*$NS_ID" - assert_line --regexp "Id.*$NS_NAME_UPDATE" + assert_line --regexp "Name.*$NS_NAME_UPDATE" } @test "List namespaces - when inactive" { @@ -177,7 +177,7 @@ teardown_file() { run_otdfctl_ns unsafe delete "$NS_ID_FLAG" --force assert_success assert_line --regexp "Id.*$NS_ID" - assert_line --regexp "Id.*$NS_NAME_UPDATE" + assert_line --regexp "Name.*$NS_NAME_UPDATE" } @test "List namespaces - when deleted" {