Skip to content

Commit 70ee335

Browse files
authored
Merge pull request #166 from zonkyio/embedded-postgres-1.3.0
#165 Upgrade to Embedded Postgres 1.3.0
2 parents 41655c2 + 3c8d117 commit 70ee335

File tree

3 files changed

+35
-1
lines changed

3 files changed

+35
-1
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ project(':embedded-database-spring-test') {
204204
compile 'org.testcontainers:mysql:1.15.3'
205205
compile 'org.testcontainers:mariadb:1.15.3'
206206

207-
compile 'io.zonky.test:embedded-postgres:1.2.10', optional
207+
compile 'io.zonky.test:embedded-postgres:1.3.0', optional
208208
compile 'com.opentable.components:otj-pg-embedded:0.13.3', optional
209209
compile 'ru.yandex.qatools.embed:postgresql-embedded:2.10', optional
210210

embedded-database-spring-test/src/main/java/io/zonky/test/db/util/AopProxyUtils.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2021 the original author or authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
package io.zonky.test.db.util;
218

319
import io.zonky.test.db.context.DatabaseTargetSource;
@@ -9,6 +25,8 @@
925

1026
public class AopProxyUtils {
1127

28+
private AopProxyUtils() {}
29+
1230
public static DatabaseContext getDatabaseContext(DataSource dataSource) {
1331
if (dataSource instanceof Advised) {
1432
TargetSource targetSource = ((Advised) dataSource).getTargetSource();

embedded-database-spring-test/src/main/java/io/zonky/test/db/util/RandomStringUtils.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,19 @@
1+
/*
2+
* Copyright 2021 the original author or authors.
3+
*
4+
* Licensed under the Apache License, Version 2.0 (the "License");
5+
* you may not use this file except in compliance with the License.
6+
* You may obtain a copy of the License at
7+
*
8+
* http://www.apache.org/licenses/LICENSE-2.0
9+
*
10+
* Unless required by applicable law or agreed to in writing, software
11+
* distributed under the License is distributed on an "AS IS" BASIS,
12+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
* See the License for the specific language governing permissions and
14+
* limitations under the License.
15+
*/
16+
117
package io.zonky.test.db.util;
218

319
import java.util.concurrent.ThreadLocalRandom;

0 commit comments

Comments
 (0)