Skip to content

Commit

Permalink
Update tests to match testbed
Browse files Browse the repository at this point in the history
  • Loading branch information
mas0nd committed Mar 23, 2024
1 parent 19d9a87 commit 715c0d9
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions test/test_cases.json
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
{
Expand Down Expand Up @@ -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"
}
],
Expand All @@ -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"
}
],
Expand All @@ -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"
},
{
Expand All @@ -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"
},
{
Expand Down Expand Up @@ -242,26 +242,26 @@
"type": "stdout"
},
{
"expect": "INTEGRATION_SECRET, last updated 2023-06-22T01:47:43Z",
"expect": "INTEGRATION_SECRET, last updated",
"type": "stdout"
}
],
"extra_validation": {"type":"none"}
},
{
"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"
}
],
Expand All @@ -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"
},
{
Expand All @@ -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"
},
{
Expand Down

0 comments on commit 715c0d9

Please sign in to comment.