diff options
Diffstat (limited to 'test')
-rwxr-xr-x | test/etap/110-replication-httpc.t | 6 | ||||
-rwxr-xr-x | test/etap/111-replication-changes-feed.t | 2 | ||||
-rwxr-xr-x | test/etap/112-replication-missing-revs.t | 2 | ||||
-rwxr-xr-x | test/etap/160-vhosts.t | 2 |
4 files changed, 6 insertions, 6 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), diff --git a/test/etap/111-replication-changes-feed.t b/test/etap/111-replication-changes-feed.t index 778b99dd..bca12bc7 100755 --- a/test/etap/111-replication-changes-feed.t +++ b/test/etap/111-replication-changes-feed.t @@ -22,7 +22,7 @@ auth = [], resource = "", headers = [ - {"User-Agent", "CouchDB/"++couch_server:get_version()}, + {"User-Agent", "CouchDB/"++couch:version()}, {"Accept", "application/json"}, {"Accept-Encoding", "gzip"} ], diff --git a/test/etap/112-replication-missing-revs.t b/test/etap/112-replication-missing-revs.t index 750334b9..ea8466f6 100755 --- a/test/etap/112-replication-missing-revs.t +++ b/test/etap/112-replication-missing-revs.t @@ -23,7 +23,7 @@ auth = [], resource = "", headers = [ - {"User-Agent", "CouchDB/"++couch_server:get_version()}, + {"User-Agent", "CouchDB/"++couch:version()}, {"Accept", "application/json"}, {"Accept-Encoding", "gzip"} ], diff --git a/test/etap/160-vhosts.t b/test/etap/160-vhosts.t index eb704d31..7694010a 100755 --- a/test/etap/160-vhosts.t +++ b/test/etap/160-vhosts.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"} ], |