From 5d258104afc5ce39bc379185457cb3e47148d9ad Mon Sep 17 00:00:00 2001 From: =?utf8?q?M=C3=A1rio=20Franco?= Date: Mon, 20 Jul 2015 21:01:04 +0100 Subject: [PATCH] Added failed validation --- .../test/java/ro/fortsoft/pf4j/DefaultPluginRepositoryTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pf4j/src/test/java/ro/fortsoft/pf4j/DefaultPluginRepositoryTest.java b/pf4j/src/test/java/ro/fortsoft/pf4j/DefaultPluginRepositoryTest.java index 5062d3c..7e2a6ec 100644 --- a/pf4j/src/test/java/ro/fortsoft/pf4j/DefaultPluginRepositoryTest.java +++ b/pf4j/src/test/java/ro/fortsoft/pf4j/DefaultPluginRepositoryTest.java @@ -76,6 +76,8 @@ public class DefaultPluginRepositoryTest { assertEquals(true, instance.deletePluginArchive("/plugin-1")); + assertEquals(false, instance.deletePluginArchive("/plugin-3")); + List result = instance.getPluginArchives(); assertEquals(1, result.size()); -- 2.39.5