Skip to content

Commit

Permalink
#81: удален старый код
Browse files Browse the repository at this point in the history
  • Loading branch information
sedovalx committed Aug 4, 2015
1 parent 943c7b7 commit 71217a2
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions sources/server/test/base/BaseDatabaseSpecification.scala
Original file line number Diff line number Diff line change
Expand Up @@ -17,23 +17,6 @@ class BaseDatabaseSpecification extends PlaySpecification with BeforeAfterEach {

def application = builder.build()
def injector = application.injector
//
// protected def afterEach(app: Application) = {
// recreateDbSchema(app)
// }
//
// private def recreateDbSchema(app: Application) = {
// val dbConfig = DatabaseConfigProvider.get[JdbcProfile](app)
// import dbConfig.driver.api._
//
// val recreateSchema: DBIO[Unit] = DBIO.seq(
// sqlu"drop schema public cascade",
// sqlu"create schema public"
// )
//
// println("before db clean")
// Await.ready(dbConfig.db.run(recreateSchema), 5 seconds)
// }

override def before: Any = {
val dbapi = application.injector.instanceOf[DBApi]
Expand Down

0 comments on commit 71217a2

Please sign in to comment.