File tree Expand file tree Collapse file tree
BookingSystem.AspNetCore/Stores
BookingSystem.AspNetFramework/Stores Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -361,15 +361,7 @@ protected override async Task GetOrderItems(List<OrderItemContext<SessionOpportu
361361 } ) ,
362362 Name = @class . Title ,
363363 Url = new Uri ( "https://example.com/events/" + occurrence . ClassId ) ,
364- Location = new Place
365- {
366- Name = "Fake fitness studio" ,
367- Geo = new GeoCoordinates
368- {
369- Latitude = 51.6201M ,
370- Longitude = 0.302396M
371- }
372- } ,
364+ Location = _fakeBookingSystem . Database . GetPlaceById ( @class . PlaceId ) ,
373365 Activity = new List < Concept >
374366 {
375367 new Concept
Original file line number Diff line number Diff line change @@ -361,15 +361,7 @@ protected override async Task GetOrderItems(List<OrderItemContext<SessionOpportu
361361 } ) ,
362362 Name = @class . Title ,
363363 Url = new Uri ( "https://example.com/events/" + occurrence . ClassId ) ,
364- Location = new Place
365- {
366- Name = "Fake fitness studio" ,
367- Geo = new GeoCoordinates
368- {
369- Latitude = 51.6201M ,
370- Longitude = 0.302396M
371- }
372- } ,
364+ Location = _fakeBookingSystem . Database . GetPlaceById ( @class . PlaceId ) ,
373365 Activity = new List < Concept >
374366 {
375367 new Concept
You can’t perform that action at this time.
0 commit comments