From fc508a1c14932b89d823876cc4c5e0e0af5fd1f4 Mon Sep 17 00:00:00 2001 From: Basil Crow Date: Mon, 1 Aug 2022 10:16:39 -0700 Subject: [PATCH] Update src/test/java/io/jenkins/plugins/jaxb/JAXBContextTest.java Co-authored-by: Jesse Glick --- src/test/java/io/jenkins/plugins/jaxb/JAXBContextTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/io/jenkins/plugins/jaxb/JAXBContextTest.java b/src/test/java/io/jenkins/plugins/jaxb/JAXBContextTest.java index bfda4bb..6f1469c 100644 --- a/src/test/java/io/jenkins/plugins/jaxb/JAXBContextTest.java +++ b/src/test/java/io/jenkins/plugins/jaxb/JAXBContextTest.java @@ -32,7 +32,7 @@ private static void _smokes(JenkinsRule r) throws Throwable { book.setId(1L); book.setName("Guide to JAXB"); JAXBContext context; - try (SetContextClassLoader sccl = new SetContextClassLoader(RealJenkinsRule.Endpoint.class)) { + try (SetContextClassLoader sccl = new SetContextClassLoader(Book.class)) { context = JAXBContext.newInstance(Book.class); } ByteArrayOutputStream baos = new ByteArrayOutputStream();