• kanwar saad bin liaqat's avatar
    Fix double error of secret negative testcase · 2f852a27
    kanwar saad bin liaqat authored
    E2E Test "Secret should fail to create secret in volume
    due to empty secret key" tries to create a secret
    with empty key and check whether it fails or not.
    But the secret creation in this test fails with
    double error due to invalid secret name. This will
    make this test to pass even if the fuctionality
    which needs to be tested is broken.
    
    This commit fix the secret name error(name should not
    have capital letters) so that the secret creation fails
    only due to desired reason.
    Signed-off-by: 's avatarkanwar saad bin liaqat <kanwar.sbl@gmail.com>
    2f852a27
secrets.go 5.13 KB