Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added Fixtures.clearIdCache() to overcome the fact that it became static

  • Loading branch information...
commit a890578e45d6ef8eb418e5dfb9afc0b9dbe5d03c 1 parent 2a61137
Stephane Epardaud authored FroMage committed

Showing 1 changed file with 4 additions and 0 deletions. Show diff stats Hide diff stats

  1. +4 0 framework/src/play/test/Fixtures.java
4 framework/src/play/test/Fixtures.java
@@ -48,6 +48,10 @@
48 48 static Pattern keyPattern = Pattern.compile("([^(]+)\\(([^)]+)\\)");
49 49 static Map<String, Object> idCache = new HashMap<String, Object>();
50 50
  51 + public static void clearIdCache(){
  52 + idCache.clear();
  53 + }
  54 +
51 55 public static void executeSQL(String sqlScript) {
52 56 for(String sql: sqlScript.split(";")) {
53 57 if(sql.trim().length() > 0) {

0 comments on commit a890578

Please sign in to comment.
Something went wrong with that request. Please try again.