Commit a06a16f9 authored by Liang Ding's avatar Liang Ding

升级 Latke

parent df8b2e62
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- <!--
Description: Solo POM. Description: Solo POM.
Version: 3.18.3.29, Oct 15, 2018 Version: 3.18.3.30, Oct 23, 2018
Author: <a href="http://88250.b3log.org">Liang Ding</a> Author: <a href="http://88250.b3log.org">Liang Ding</a>
Author: <a href="http://www.annpeter.cn">Ann Peter</a> Author: <a href="http://www.annpeter.cn">Ann Peter</a>
Author: <a href="http://vanessa.b3log.org">Vanessa</a> Author: <a href="http://vanessa.b3log.org">Vanessa</a>
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<org.b3log.latke.version>2.4.19</org.b3log.latke.version> <org.b3log.latke.version>2.4.20</org.b3log.latke.version>
<servlet.version>3.1.0</servlet.version> <servlet.version>3.1.0</servlet.version>
<slf4j.version>1.7.5</slf4j.version> <slf4j.version>1.7.5</slf4j.version>
......
...@@ -57,7 +57,7 @@ public abstract class AbstractTestCase { ...@@ -57,7 +57,7 @@ public abstract class AbstractTestCase {
*/ */
@BeforeClass @BeforeClass
public void beforeClass() throws Exception { public void beforeClass() throws Exception {
Latkes.initRuntimeEnv(); Latkes.init();
Latkes.setLocale(Locale.SIMPLIFIED_CHINESE); Latkes.setLocale(Locale.SIMPLIFIED_CHINESE);
final Collection<Class<?>> classes = Discoverer.discover("org.b3log.solo"); final Collection<Class<?>> classes = Discoverer.discover("org.b3log.solo");
......
...@@ -42,7 +42,7 @@ public final class MarkdownsTestCase { ...@@ -42,7 +42,7 @@ public final class MarkdownsTestCase {
@BeforeClass @BeforeClass
public void beforeClass() { public void beforeClass() {
Latkes.initRuntimeEnv(); Latkes.init();
Latkes.setLocale(Locale.SIMPLIFIED_CHINESE); Latkes.setLocale(Locale.SIMPLIFIED_CHINESE);
} }
......
...@@ -39,7 +39,7 @@ public final class ThumbnailsTestCase { ...@@ -39,7 +39,7 @@ public final class ThumbnailsTestCase {
*/ */
@Test @Test
public void getGravatarURL() throws Exception { public void getGravatarURL() throws Exception {
Latkes.initRuntimeEnv(); Latkes.init();
Latkes.setLocale(Locale.SIMPLIFIED_CHINESE); Latkes.setLocale(Locale.SIMPLIFIED_CHINESE);
final String gravatarURL = Solos.getGravatarURL("test@b3log.org", "128"); final String gravatarURL = Solos.getGravatarURL("test@b3log.org", "128");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment