We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e44867 commit 7989b22Copy full SHA for 7989b22
1 file changed
db-tests/src/test/java/gov/nasa/jpl/aerie/database/ActionDefinitionVersionTests.java
@@ -116,13 +116,14 @@ private int insertWorkspace(int parcelId) throws SQLException {
116
117
private int insertFileUpload() throws SQLException {
118
try (final var statement = connection.createStatement()) {
119
+ final var uuid = UUID.randomUUID().toString();
120
final var res = statement.executeQuery(
121
//language=sql
122
"""
123
INSERT INTO merlin.uploaded_file (path, name)
- VALUES ('test-action-path-%s', 'test-action-file')
124
+ VALUES ('test-action-path-%s', 'test-action-file-%s')
125
RETURNING id;
- """.formatted(UUID.randomUUID().toString()));
126
+ """.formatted(uuid, uuid));
127
res.next();
128
return res.getInt("id");
129
}
0 commit comments