diff options
| author | Shulhan <ms@kilabit.info> | 2023-05-15 23:34:15 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-05-15 23:34:15 +0700 |
| commit | bee390efcc5ab2c03738ee36e06a0bac108ad392 (patch) | |
| tree | 68e7034ef4e627ee65e3e414f7849243d7c4119c /config_test.go | |
| parent | bb1160d3f13514bebcb81e89c082198c5278b89e (diff) | |
| download | gotp-bee390efcc5ab2c03738ee36e06a0bac108ad392.tar.xz | |
all: group the key for testing into testdata/keys
Diffstat (limited to 'config_test.go')
| -rw-r--r-- | config_test.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config_test.go b/config_test.go index e27172d..b877236 100644 --- a/config_test.go +++ b/config_test.go @@ -26,14 +26,14 @@ func TestNewConfig(t *testing.T) { }, }, { desc: `With openssh rsa`, - configFile: `testdata/rsa.conf`, + configFile: `testdata/with_private_key.conf`, expConfig: &config{ - PrivateKey: `testdata/rsa`, + PrivateKey: `testdata/keys/rsa-openssl.pem`, Issuers: map[string]string{ `email-domain`: `XYZ`, `test`: `ABCD`, }, - file: `testdata/rsa.conf`, + file: `testdata/with_private_key.conf`, }, }} |
