improve cucumber implementation
This commit is contained in:
@@ -32,7 +32,6 @@ class RunCucumberTest: En, KoinTest {
|
|||||||
}
|
}
|
||||||
|
|
||||||
init {
|
init {
|
||||||
Before(-2) { _: Scenario ->
|
|
||||||
if (!unitialized) {
|
if (!unitialized) {
|
||||||
config.database = "test"
|
config.database = "test"
|
||||||
config.username = "test"
|
config.username = "test"
|
||||||
@@ -44,7 +43,6 @@ class RunCucumberTest: En, KoinTest {
|
|||||||
}
|
}
|
||||||
unitialized = true
|
unitialized = true
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
Before(-1) { scenario: Scenario ->
|
Before(-1) { scenario: Scenario ->
|
||||||
config.database = "test"
|
config.database = "test"
|
||||||
|
|||||||
Reference in New Issue
Block a user