collect a few missing test cases
Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/2d6fdb83 Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/2d6fdb83 Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/2d6fdb83 Branch: refs/heads/431-feature_cors Commit: 2d6fdb83e66b9f3407795abf381d100923e2cfd9 Parents: 403932b Author: Jan Lehnardt <[email protected]> Authored: Mon Nov 12 18:48:33 2012 +0100 Committer: Jan Lehnardt <[email protected]> Committed: Mon Nov 12 18:54:35 2012 +0100 ---------------------------------------------------------------------- test/etap/231-cors.t | 8 ++++++++ 1 files changed, 8 insertions(+), 0 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb/blob/2d6fdb83/test/etap/231-cors.t ---------------------------------------------------------------------- diff --git a/test/etap/231-cors.t b/test/etap/231-cors.t index 6853c1c..6b0f86f 100644 --- a/test/etap/231-cors.t +++ b/test/etap/231-cors.t @@ -105,6 +105,14 @@ test() -> ok = couch_config:set("cors", "origins", "http://example.com", false), + + % TBD + % case-sensitive mismatch of allowed origins should fail + % auth with * Origin should fail + % test all cors with vhosts + % test multiple per-host configuration + + %% do tests with auth ok = set_admin_password("test", "test"),
