From 715c0d9caf643fd0d9b5f9b96856533fec30f1ba Mon Sep 17 00:00:00 2001 From: "mason.davis" Date: Sat, 23 Mar 2024 14:15:32 -0500 Subject: [PATCH] Update tests to match testbed --- test/test_cases.json | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/test/test_cases.json b/test/test_cases.json index 7c5b5bb..5735ebb 100644 --- a/test/test_cases.json +++ b/test/test_cases.json @@ -23,7 +23,7 @@ "type": "stdout" }, { - "expect": "About to enumerate 4 repos within the GHRunnerPlayground organization!", + "expect": "About to enumerate 3 repos within the GHRunnerPlayground organization!", "type": "stdout" }, { @@ -54,7 +54,7 @@ "type": "stdout" }, { - "expect": "About to enumerate 4 repos within the GHRunnerPlayground organization!", + "expect": "About to enumerate 3 repos within the GHRunnerPlayground organization!", "type": "stdout" } ], @@ -73,7 +73,7 @@ "type": "stdout" }, { - "expect": "About to enumerate 3 repos within the GHRunnerPlayground organization!", + "expect": "About to enumerate 1 repos within the GHRunnerPlayground organization!", "type": "stdout" } ], @@ -88,7 +88,7 @@ "type": "stdout" }, { - "expect": "About to enumerate 4 repos within the GHRunnerPlayground organization!", + "expect": "About to enumerate 3 repos within the GHRunnerPlayground organization!", "type": "stdout" }, { @@ -111,7 +111,7 @@ "type": "stdout" }, { - "expect": "About to enumerate 4 repos within the GHRunnerPlayground organization!", + "expect": "About to enumerate 3 repos within the GHRunnerPlayground organization!", "type": "stdout" }, { @@ -242,7 +242,7 @@ "type": "stdout" }, { - "expect": "INTEGRATION_SECRET, last updated 2023-06-22T01:47:43Z", + "expect": "INTEGRATION_SECRET, last updated", "type": "stdout" } ], @@ -250,18 +250,18 @@ }, { "PAT": "ORG_ADMIN_REPO_WORKFLOW_TOKEN", - "invocation": "gato -s e -r GHRunnerPlayground/md-test -sr", + "invocation": "gato -s e -r GHRunnerPlayground/TestSecrets -sr", "assertions": [ { "expect": "The repository can access 2 secrets and the token can use a workflow to read", "type": "stdout" }, { - "expect": "REPO_SECRET, last updated 2023-04-20T18:01:37Z", + "expect": "REPO_SECRET, last updated", "type": "stdout" }, { - "expect": "INTEGRATION_SECRET, last updated 2023-06-22T01:47:43Z", + "expect": "INTEGRATION_SECRET, last updated", "type": "stdout" } ], @@ -276,7 +276,7 @@ "type": "stdout" }, { - "expect": "About to enumerate 4 repos within the GHRunnerPlayground organization!", + "expect": "About to enumerate 3 repos within the GHRunnerPlayground organization!", "type": "stdout" }, { @@ -299,7 +299,7 @@ "invocation": "gato -s enum --target GHRunnerPlayground -oJ integration_test.json", "assertions": [ { - "expect": "About to enumerate 4 repos within the GHRunnerPlayground organization!", + "expect": "About to enumerate 3 repos within the GHRunnerPlayground organization!", "type": "stdout" }, {