Permalink
Browse files

Add to the ApiProxy$Environment for compatibility with sdk 1.2.2.

Robin reported that adding requestNamespace and attributes got things
working correctly. I haven't yet been able to test with 1.2.2.
  • Loading branch information...
1 parent d24a2b0 commit 4aab77919c0077b41d6e97e93dc5d5f381697cea @duelinmarkers committed Jul 25, 2009
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/appengine_clj/test_utils.clj
@@ -13,7 +13,9 @@
(ApiProxy/setEnvironmentForCurrentThread
(proxy [com.google.apphosting.api.ApiProxy$Environment] []
(getAppId [] "test")
- (getVersionId [] "1.0"))))
+ (getVersionId [] "1.0")
+ (getRequestNamespace [] "")
+ (getAttributes [] (java.util.HashMap.)))))
(defn ds-teardown []
(ApiProxy/clearEnvironmentForCurrentThread)

0 comments on commit 4aab779

Please sign in to comment.