diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/fixtures/normal.ini | 1 | ||||
-rw-r--r-- | tests/test_config.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/tests/fixtures/normal.ini b/tests/fixtures/normal.ini index 2f2bf4d..97a1d2f 100644 --- a/tests/fixtures/normal.ini +++ b/tests/fixtures/normal.ini @@ -3,6 +3,7 @@ endpoint = https://api.github.com/graphql token = ghp_1234567890abcdef user_agent = user-agent owner = my-org +transport = ssh [git] base = /srv/git diff --git a/tests/test_config.c b/tests/test_config.c index 5e4aab1..fe7df4d 100644 --- a/tests/test_config.c +++ b/tests/test_config.c @@ -29,6 +29,7 @@ static void config_read_normal(void **state) assert_non_null(cfg->head); assert_int_equal(cfg->head->type, remote_type_github); + assert_int_equal(cfg->head->gh.transport, git_transport_ssh); assert_string_equal(cfg->head->gh.endpoint, "https://api.github.com/graphql"); assert_string_equal(cfg->head->gh.token, "ghp_1234567890abcdef"); |