mirror of
https://github.com/google/nomulus.git
synced 2025-05-31 01:34:05 +02:00
Use Multimap bindings to construct BigQuery schema map
This refactoring allows the schemas to live in the same package they are used, rather than all having to be inside the bigquery package. This is a follow-up to [] ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=120551011
This commit is contained in:
parent
d65bf2a714
commit
e14faaa7e6
9 changed files with 143 additions and 125 deletions
|
@ -113,6 +113,10 @@ public class UpdateSnapshotViewActionTest {
|
|||
public void testSuccess_doPost() throws Exception {
|
||||
action.run();
|
||||
|
||||
// Check that the BigQuery factory was called in such a way that the dataset would be created
|
||||
// if it didn't already exist.
|
||||
verify(bigqueryFactory).create("Project-Id", "latest_snapshot");
|
||||
|
||||
// Check that we updated the view.
|
||||
ArgumentCaptor<Table> tableArg = ArgumentCaptor.forClass(Table.class);
|
||||
verify(bigqueryTables).update(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue