From 61583e6e7eb7c07912c274cbdc024fd664d6d45f Mon Sep 17 00:00:00 2001 From: Kazuki Shimizu Date: Sat, 22 Jan 2022 01:08:38 +0900 Subject: [PATCH] Replace property key to spring.sql.init.schema-locations from spring.datasource.schema --- .../boot/test/autoconfigure/MybatisTestIntegrationTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mybatis-spring-boot-test-autoconfigure/src/test/java/org/mybatis/spring/boot/test/autoconfigure/MybatisTestIntegrationTest.java b/mybatis-spring-boot-test-autoconfigure/src/test/java/org/mybatis/spring/boot/test/autoconfigure/MybatisTestIntegrationTest.java index 1610b10a..6eefedf0 100755 --- a/mybatis-spring-boot-test-autoconfigure/src/test/java/org/mybatis/spring/boot/test/autoconfigure/MybatisTestIntegrationTest.java +++ b/mybatis-spring-boot-test-autoconfigure/src/test/java/org/mybatis/spring/boot/test/autoconfigure/MybatisTestIntegrationTest.java @@ -1,5 +1,5 @@ /* - * Copyright 2015-2021 the original author or authors. + * Copyright 2015-2022 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -41,7 +41,7 @@ */ @MybatisTest(properties = { "mybatis.type-aliases-package=org.mybatis.spring.boot.test.autoconfigure", "logging.level.org.springframework.jdbc=debug", - "spring.datasource.schema=classpath:org/mybatis/spring/boot/test/autoconfigure/schema.sql" }) + "spring.sql.init.schema-locations=classpath:org/mybatis/spring/boot/test/autoconfigure/schema.sql" }) class MybatisTestIntegrationTest { @Autowired