Skip to content

Commit

Permalink
Fix classname in test
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenTCramer committed Jul 24, 2024
1 parent aa81e4b commit 38777c4
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,16 @@ namespace Test.App.Client.Features.WeatherForecast;
using TimeWarp.State.Plus.State;
using static Contracts.Features.WeatherForecast.GetWeatherForecasts;

internal partial class CacheableWeatherState: BaseCacheableState<CacheableWeatherState>
internal partial class CacheableWeatherState: TimeWarpCacheableState<CacheableWeatherState>
{
private Response? WeatherForecastList;

public IReadOnlyList<WeatherForecastDto>? WeatherForecasts => WeatherForecastList?.AsReadOnly();

public CacheableWeatherState():base(TimeSpan.FromSeconds(10)) {} // Set this to short duration for testing
public CacheableWeatherState()
{
CacheDuration = TimeSpan.FromSeconds(10);
} // Set this to short duration for testing

///<inheritdoc/>
public override void Initialize()
Expand Down

0 comments on commit 38777c4

Please sign in to comment.