Skip to content

Commit

Permalink
Revert "temporar fix for deploy on heroku"
Browse files Browse the repository at this point in the history
This reverts commit 9408309.
  • Loading branch information
ecararus committed Mar 17, 2016
1 parent a46cd54 commit 9342597
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 19 deletions.
5 changes: 0 additions & 5 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,6 @@
<artifactId>json-path</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>cz.jirutka.spring</groupId>
<artifactId>embedmongo-spring</artifactId>
<version>1.3.0</version>
</dependency>
</dependencies>

<build>
Expand Down
14 changes: 0 additions & 14 deletions src/test/java/com/sky/CatalogueAppConfigurationTest.java
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
package com.sky;

import com.google.common.base.Preconditions;
import com.mongodb.Mongo;
import cz.jirutka.spring.embedmongo.EmbeddedMongoBuilder;
import org.assertj.core.api.Condition;
import org.junit.After;
import org.junit.Rule;
Expand All @@ -11,13 +9,11 @@
import org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext;
import org.springframework.boot.test.OutputCapture;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.Bean;
import org.springframework.core.env.CommandLinePropertySource;
import org.springframework.core.env.ConfigurableEnvironment;
import org.springframework.core.env.PropertySource;
import org.springframework.core.env.StandardEnvironment;

import java.io.IOException;
import java.util.Arrays;
import java.util.stream.IntStream;
import java.util.stream.Stream;
Expand Down Expand Up @@ -82,14 +78,4 @@ public boolean matches(ConfigurableEnvironment value) {
}
};
}

@Bean
public Mongo mongo() throws IOException {
System.setProperty("DB.TRACE","true");
return new EmbeddedMongoBuilder()
.version("2.6.10")
.bindIp("127.0.0.1")
.port(0)
.build();
}
}

0 comments on commit 9342597

Please sign in to comment.