Skip to content

Commit

Permalink
Refactor EstimateSampleSizesVaryingManifests.java; code cleanup.
Browse files Browse the repository at this point in the history
  • Loading branch information
vteague committed Dec 24, 2024
1 parent 712f875 commit e644191
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ public class Demo1 extends Workflow {
@BeforeClass
public static void beforeAllThisClass() {

Persistence.beginTransaction();
// Used to initialize the database, e.g. to set the ASM state to the DOS_INITIAL_STATE
// and to insert counties and administrator test logins.
runSQLSetupScript("SQL/co-counties.sql");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,11 @@ public class EstimateSampleSizesVaryingManifests extends Workflow {
* Database init.
*/
@BeforeClass
public static void beforeAll() {

final var containerDelegate = setupContainerStartPostgres(postgres);

var s = Persistence.openSession();
s.beginTransaction();
public static void beforeAllThisClass() {

// Used to initialize the database, e.g. to set the ASM state to the DOS_INITIAL_STATE
// and to insert counties and administrator test logins.
ScriptUtils.runInitScript(containerDelegate, "SQL/co-counties.sql");
runSQLSetupScript("SQL/co-counties.sql");

runMain("EstimateSampleSizesVaryingManifests");
}
Expand Down

0 comments on commit e644191

Please sign in to comment.