Navigation Menu

Skip to content

Commit

Permalink
Set domain id manually for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Aug 2, 2012
1 parent e722a27 commit 4fd821a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/database-index-field.test.js
Expand Up @@ -11,6 +11,7 @@ suite('database', function() {

setup(function() {
domain = new Domain('testdomain');
domain.id = Domain.DEFAULT_ID;
});

teardown(function() {
Expand Down Expand Up @@ -146,6 +147,7 @@ suite('database', function() {
context = temporaryDatabase.get();
utils.loadDumpFile(context, __dirname + '/fixture/companies/ddl.grn');
domain = new Domain('companies', context);
domain.id = Domain.DEFAULT_ID;
});

teardown(function() {
Expand Down

0 comments on commit 4fd821a

Please sign in to comment.