mirror of
https://github.com/google/nomulus.git
synced 2025-07-11 21:48:18 +02:00
Add Cloud SQL schema for premium lists (#254)
* Re-add other schema classes * Add Cloud SQL schema for premium lists This won't work quite yet, pending a solution for the type translator issue (which will be needed for the currency field, and potentially others).
This commit is contained in:
parent
859b70098c
commit
ded6d38223
7 changed files with 192 additions and 14 deletions
|
@ -27,7 +27,6 @@ import org.junit.runner.RunWith;
|
|||
import org.junit.runners.JUnit4;
|
||||
import org.testcontainers.containers.PostgreSQLContainer;
|
||||
|
||||
|
||||
/** Unit tests for {@link google.registry.tools.GenerateSqlSchemaCommand}. */
|
||||
@RunWith(JUnit4.class)
|
||||
public class GenerateSqlSchemaCommandTest extends CommandTestCase<GenerateSqlSchemaCommand> {
|
||||
|
@ -77,8 +76,7 @@ public class GenerateSqlSchemaCommandTest extends CommandTestCase<GenerateSqlSch
|
|||
@Test
|
||||
public void testDockerPostgresql() throws Exception {
|
||||
runCommand(
|
||||
"--start_postgresql",
|
||||
"--out_file=" + tmp.getRoot() + File.separatorChar + "schema.sql");
|
||||
"--start_postgresql", "--out_file=" + tmp.getRoot() + File.separatorChar + "schema.sql");
|
||||
assertThat(new File(tmp.getRoot(), "schema.sql").exists()).isTrue();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -116,7 +116,9 @@ public class RegistrarConsoleScreenshotTest extends WebDriverTestCase {
|
|||
@Test
|
||||
public void settingsContactItem_asAdmin() throws Throwable {
|
||||
server.setIsAdmin(true);
|
||||
driver.get(server.getUrl("/registrar?clientId=NewRegistrar#contact-settings/janedoe@theregistrar.com"));
|
||||
driver.get(
|
||||
server.getUrl(
|
||||
"/registrar?clientId=NewRegistrar#contact-settings/janedoe@theregistrar.com"));
|
||||
Thread.sleep(1000);
|
||||
driver.waitForElement(By.tagName("h1"));
|
||||
driver.diffPage("page");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue