Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/dynamic deck dynamo prod #2

Conversation

davidjgonzalez
Copy link

Fixed issue with failing test

@@ -41,8 +41,11 @@
@Override
public Map<String, String> getOptions() {
Map<String, String> options = new LinkedHashMap<>();
ResourceResolver resourceResolver = getHelper().getRequest().getResourceResolver();
if (null != resourceResolver) {
if (null != getHelper() &&
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

getHelper() returned null in the "unrelated" DialogResourceProviderFactoryTest

@@ -24,7 +24,7 @@
import org.osgi.service.component.annotations.Component;
import org.osgi.service.metatype.annotations.Designate;

@Component(service = DynamicDeckConfigurationService.class)
@Component(service = DynamicDeckConfigurationService.class, immediate = true)
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we can leave this - but you definitely shouldn't need it to slingscripthelper to get the service... might be something weird going on w/ the MCP forms

import org.mockito.invocation.InvocationOnMock;
import org.mockito.stubbing.Answer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import sun.rmi.runtime.Log;
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cleaned up these deps as my local didn't like running this tests with sun.rmi...

@jasiwal jasiwal merged commit b62ee4d into jasiwal:feature/dynamic-deck-dymano-prod Apr 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants