Fix the integration tests

This commit is contained in:
Antony Male 2014-08-02 17:04:02 +01:00
parent db08349c02
commit f45fe0fc9a
2 changed files with 8 additions and 8 deletions

View File

@ -1,14 +1,13 @@
<Application x:Class="StyletIntegrationTests.App" <Application x:Class="StyletIntegrationTests.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:s="https://github.com/canton7/Stylet"
xmlns:local="clr-namespace:StyletIntegrationTests"> xmlns:local="clr-namespace:StyletIntegrationTests">
<Application.Resources> <Application.Resources>
<ResourceDictionary> <s:ApplicationLoader>
<ResourceDictionary.MergedDictionaries> <s:ApplicationLoader.Bootstrapper>
<ResourceDictionary> <local:Bootstrapper/>
<local:Bootstrapper x:Key="bootstrapper"/> </s:ApplicationLoader.Bootstrapper>
</ResourceDictionary> </s:ApplicationLoader>
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources> </Application.Resources>
</Application> </Application>

View File

@ -12,8 +12,9 @@ namespace StyletIntegrationTests
{ {
public class Bootstrapper : Bootstrapper<ShellViewModel> public class Bootstrapper : Bootstrapper<ShellViewModel>
{ {
protected override void OnStart() protected override void Configure()
{ {
base.Configure();
LogManager.Enabled = true; LogManager.Enabled = true;
} }