Skip to content
Snippets Groups Projects
Commit 56036412 authored by Riccardo Boero's avatar Riccardo Boero :innocent:
Browse files

Added secrets to testing.

parent cca9aefc
No related branches found
No related tags found
No related merge requests found
...@@ -12,8 +12,7 @@ using JuliaDockerClient ...@@ -12,8 +12,7 @@ using JuliaDockerClient
@testset "registry_login Tests" begin @testset "registry_login Tests" begin
@testset "registry_login Tests" begin @testset "registry_login Tests" begin
# Testing with mock data # Testing with mock data
#encoded_auth = registry_login("mock_registry", "mock_user", "mock_pass") encoded_auth = registry_login($REGISTRY_URL, $REGISTRY_USERNAME, $REGISTRY_PASS)
encoded_auth = registry_login("registry.nilu.no", "FACT_token", "glpat-1zG-TQx___xLsPjj2vsG")
# Check if the return value is a valid base64-encoded string # Check if the return value is a valid base64-encoded string
@test typeof(encoded_auth) == String && !isempty(encoded_auth) @test typeof(encoded_auth) == String && !isempty(encoded_auth)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment