 
     adapter fn env ->
       case env.url do
-        "/basic-auth" -> env
+        "/basic-auth" -> {:ok, env}
       end
     end
   end

    base_64_encoded = Base.encode64(":")
    assert base_64_encoded == "Og=="

    request = BasicClient.client() |> BasicClient.get("/basic-auth")
    auth_header = Tesla.get_header(request, "authorization")

    assert auth_header == "Basic #{base_64_encoded}"

    base_64_encoded = Base.encode64("#{username}:#{password}")
    assert base_64_encoded == "QWxhZGRpbjpPcGVuU2VzYW1l"

    {:ok, request} = BasicClient.client(username, password) |> BasicClient.get("/basic-auth")
    auth_header = Tesla.get_header(request, "authorization")

    assert auth_header == "Basic #{base_64_encoded}"
