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

Do not enable installers when running in debug mode #4964

Merged
merged 2 commits into from Sep 20, 2017

Conversation

timbussmann
Copy link
Contributor

No longer automatically enable installers when running in debug mode. With this change, we no longer need the DisableInstallers API.

WIP as I can't get the approval tests working correctly when running the tests in R# /cc @bording

@timbussmann timbussmann requested a review from a team September 19, 2017 13:18
andreasohlund
andreasohlund previously approved these changes Sep 19, 2017
@@ -28,7 +29,8 @@ class EndpointWithInstaller : EndpointConfigurationBuilder
{
public EndpointWithInstaller()
{
EndpointSetup<DefaultServer>(c => c.DisableInstallers());
// disable installers as installers are enabled by default in DefaultServer
EndpointSetup<DefaultServer>(c => c.GetSettings().Set("Installers.Enable", false));
Copy link
Member

Choose a reason for hiding this comment

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

I guess this is OK, but I'd almost prefer to see it use another template so that we didn't have to do something special here.

@bording
Copy link
Member

bording commented Sep 19, 2017

WIP as I can't get the approval tests working correctly when running the tests in R#

@timbussmann What failure are you having with them?

@bording
Copy link
Member

bording commented Sep 19, 2017

I've pushed up the API approval, so removing the WIP from this.

@bording bording changed the title [WIP] Do not enable installers when running in debug mode Do not enable installers when running in debug mode Sep 19, 2017
@andreasohlund andreasohlund merged commit d7d0bb2 into develop Sep 20, 2017
@andreasohlund andreasohlund deleted the no-installers-when-debugging branch September 20, 2017 07:01
@timbussmann
Copy link
Contributor Author

timbussmann commented Sep 20, 2017

What failure are you having with them?

@bording the created file paths of the approval files were somewhere on a temp directory and not the ones in the git repo.

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.

None yet

3 participants