summaryrefslogtreecommitdiff
path: root/test/etap/110-replication-httpc.t
diff options
context:
space:
mode:
authorAdam Kocoloski <adam@cloudant.com>2010-08-18 14:57:08 -0400
committerAdam Kocoloski <adam@cloudant.com>2010-08-18 14:57:08 -0400
commit1fda1aa8f69d5870c5711b0068971c7d4594e6cc (patch)
treeedbe28a6e03b9932596f03e294fe33df2c2b1009 /test/etap/110-replication-httpc.t
parent1b40244642f1099df7b7addecf2ac47e52b8d636 (diff)
new version() call allows for hidden patch releases
Diffstat (limited to 'test/etap/110-replication-httpc.t')
-rwxr-xr-xtest/etap/110-replication-httpc.t6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/etap/110-replication-httpc.t b/test/etap/110-replication-httpc.t
index 529239c5..b534b648 100755
--- a/test/etap/110-replication-httpc.t
+++ b/test/etap/110-replication-httpc.t
@@ -19,7 +19,7 @@
auth = [],
resource = "",
headers = [
- {"User-Agent", "CouchDB/"++couch_server:get_version()},
+ {"User-Agent", "CouchDB/"++couch:version()},
{"Accept", "application/json"},
{"Accept-Encoding", "gzip"}
],
@@ -79,7 +79,7 @@ test_welcome() ->
WelcomeReq = #http_db{url=server()},
Expect = {[
{<<"couchdb">>, <<"Welcome">>},
- {<<"version">>, list_to_binary(couch_server:get_version())}
+ {<<"version">>, list_to_binary(couch:version())}
]},
etap:is(
couch_rep_httpc:request(WelcomeReq),
@@ -91,7 +91,7 @@ test_binary_url() ->
Req = #http_db{url=list_to_binary(server())},
Expect = {[
{<<"couchdb">>, <<"Welcome">>},
- {<<"version">>, list_to_binary(couch_server:get_version())}
+ {<<"version">>, list_to_binary(couch:version())}
]},
etap:is(
couch_rep_httpc:request(Req),