diff options
author | Adam Kocoloski <adam@cloudant.com> | 2010-08-18 14:57:08 -0400 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2010-08-18 14:57:08 -0400 |
commit | 1fda1aa8f69d5870c5711b0068971c7d4594e6cc (patch) | |
tree | edbe28a6e03b9932596f03e294fe33df2c2b1009 /test | |
parent | 1b40244642f1099df7b7addecf2ac47e52b8d636 (diff) |
new version() call allows for hidden patch releases
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"} ], |