From 8e2eb6ab70fb66ec9907cacc3ad9bdc86f37b212 Mon Sep 17 00:00:00 2001 From: qianmoQ Date: Wed, 28 Sep 2022 00:08:18 +0800 Subject: [PATCH] Update PostgreSQLPluginTestService.java --- .../plugin/jdbc/postgresql/PostgreSQLPluginTestService.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/jdbc/postgresql/src/test/java/io/edurt/datacap/plugin/jdbc/postgresql/PostgreSQLPluginTestService.java b/plugin/jdbc/postgresql/src/test/java/io/edurt/datacap/plugin/jdbc/postgresql/PostgreSQLPluginTestService.java index 45129f42..a2b812e3 100644 --- a/plugin/jdbc/postgresql/src/test/java/io/edurt/datacap/plugin/jdbc/postgresql/PostgreSQLPluginTestService.java +++ b/plugin/jdbc/postgresql/src/test/java/io/edurt/datacap/plugin/jdbc/postgresql/PostgreSQLPluginTestService.java @@ -32,7 +32,7 @@ public class PostgreSQLPluginTestService public void test() { Set plugins = injector.getInstance(Key.get(new TypeLiteral>() {})); - Optional pluginOptional = plugins.stream().filter(v -> v.name().equalsIgnoreCase("PgSQL")).findFirst(); + Optional pluginOptional = plugins.stream().filter(v -> v.name().equalsIgnoreCase("PostgreSQL")).findFirst(); if (pluginOptional.isPresent()) { Plugin plugin = pluginOptional.get(); plugin.connect(configure); @@ -40,4 +40,4 @@ public class PostgreSQLPluginTestService plugin.destroy(); } } -} \ No newline at end of file +}