Pablo,

Clone the cas repo, https://github.com/apereo/cas
Then search for that file
$ find . -name CoreAuthenticationTestUtils.java
./core/cas-server-core-authentication-api/src/test/java/org/apereo/cas/authentication/CoreAuthenticationTestUtils.java

Then

    testImplementation "org.apereo.cas:cas-server-core-authentication-api"

Ray

On Mon, 2021-09-27 at 15:23 -0700, Pablo Vidaurri wrote:
Notice: This message was sent from outside the University of Victoria email 
system. Please be cautious with links and sensitive information.

I'm trying to test my custom webflow, for a few of the actions I have a 
principle. How do I mock the principle? I've reviewed cas code and see the use 
of  CoreAuthenticationTestUtil but for the life of me I cannot get the 
dependency included in my project.

--

Ray Bon
Programmer Analyst
Development Services, University Systems
2507218831 | CLE 019 | [email protected]<mailto:[email protected]>

I acknowledge and respect the lək̓ʷəŋən peoples on whose traditional territory 
the university stands, and the Songhees, Esquimalt and WSÁNEĆ peoples whose 
historical relationships with the land continue to this day.

-- 
- Website: https://apereo.github.io/cas
- Gitter Chatroom: https://gitter.im/apereo/cas
- List Guidelines: https://goo.gl/1VRrw7
- Contributions: https://goo.gl/mh7qDG
--- 
You received this message because you are subscribed to the Google Groups "CAS 
Community" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/apereo.org/d/msgid/cas-user/80b023e3330dff88dc07d91d966d564c44b35e1a.camel%40uvic.ca.

Reply via email to