This is an automated email from the ASF dual-hosted git repository.

remm pushed a commit to branch 7.0.x
in repository https://gitbox.apache.org/repos/asf/tomcat.git


The following commit(s) were added to refs/heads/7.0.x by this push:
     new 503424d  Fix exception type
503424d is described below

commit 503424d4a89c1fefaf3e45ffac797c1afb854dcf
Author: remm <r...@apache.org>
AuthorDate: Wed Jun 12 00:13:19 2019 +0200

    Fix exception type
---
 test/javax/el/TestBeanELResolver.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test/javax/el/TestBeanELResolver.java 
b/test/javax/el/TestBeanELResolver.java
index 31b4c5b..825d7c3 100644
--- a/test/javax/el/TestBeanELResolver.java
+++ b/test/javax/el/TestBeanELResolver.java
@@ -266,7 +266,7 @@ public class TestBeanELResolver {
      * Tests that an exception will be thrown when the property does not have
      * setter method.
      */
-    @Test(expected = PropertyNotFoundException.class)
+    @Test(expected = PropertyNotWritableException.class)
     public void testSetValue07() {
         BeanELResolver resolver = new BeanELResolver();
         ELContext context = new ELContextImpl();


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to