Skip to content

Commit

Permalink
MR-86 MRG-122
Browse files Browse the repository at this point in the history
  • Loading branch information
madness-inc committed Oct 1, 2021
1 parent 9c20f7d commit 60024d5
Showing 1 changed file with 2 additions and 0 deletions.
Expand Up @@ -23,6 +23,7 @@
import org.appng.api.Platform;
import org.appng.api.ProcessingException;
import org.appng.api.model.Property;
import org.appng.api.model.Site.SiteState;
import org.appng.api.support.CallableAction;
import org.appng.api.support.CallableDataSource;
import org.appng.api.support.PropertyHolder;
Expand Down Expand Up @@ -54,6 +55,7 @@ protected void mockSite(GenericApplicationContext applicationContext) {
site = Mockito.mock(SiteImpl.class);
}
Mockito.when(site.getName()).thenReturn("localhost");
Mockito.when(site.getState()).thenReturn(SiteState.STARTED);
Mockito.when(site.getDomain()).thenReturn("localhost");
Mockito.when(site.getHost()).thenReturn("localhost");
Mockito.when(site.getApplication("appng-manager")).thenReturn(application);
Expand Down

0 comments on commit 60024d5

Please sign in to comment.