diff --git a/collection/client/Submission/Get Test Results/Succeed.bru b/collection/client/Submission/Get Test Results/Succeed.bru index 8ce2aa8f29..88dc7d33d3 100644 --- a/collection/client/Submission/Get Test Results/Succeed.bru +++ b/collection/client/Submission/Get Test Results/Succeed.bru @@ -9,3 +9,7 @@ get { body: none auth: none } + +script:pre-request { + await require("./login").loginAdmin(req); +} diff --git a/collection/client/Submission/Request Test/Succeed.bru b/collection/client/Submission/Submit Test/Succeed.bru similarity index 85% rename from collection/client/Submission/Request Test/Succeed.bru rename to collection/client/Submission/Submit Test/Succeed.bru index 7b816a3152..d4cd508db5 100644 --- a/collection/client/Submission/Request Test/Succeed.bru +++ b/collection/client/Submission/Submit Test/Succeed.bru @@ -26,3 +26,7 @@ body:json { "language": "Cpp" } } + +script:pre-request { + await require("./login").loginAdmin(req); +}