Skip to content

Commit 7354a6d

Browse files
committed
Update test website to 15.
1 parent f827190 commit 7354a6d

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

src/UmbracoExamine-PDF.TestSite/Program.cs

+9
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
using Examine;
2+
using Umbraco.Cms.Core;
3+
using UmbracoExamine.PDF;
4+
15
WebApplicationBuilder builder = WebApplication.CreateBuilder(args);
26

37
builder.CreateUmbracoBuilder()
@@ -7,6 +11,11 @@
711
.AddComposers()
812
.Build();
913

14+
builder.Services.AddExamineLuceneMultiSearcher("MultiSearcher", [
15+
Constants.UmbracoIndexes.ExternalIndexName,
16+
PdfIndexConstants.PdfIndexName
17+
]);
18+
1019
WebApplication app = builder.Build();
1120

1221
await app.BootUmbracoAsync();

src/UmbracoExamine-PDF.TestSite/UmbracoExamine.PDF.Testsite.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<Project Sdk="Microsoft.NET.Sdk.Web">
22
<PropertyGroup>
3-
<TargetFramework>net8.0</TargetFramework>
3+
<TargetFramework>net9.0</TargetFramework>
44
<RootNamespace>UmbracoExamine_PDF.TestSite</RootNamespace>
55
<IsPackable>false</IsPackable>
66
<ImplicitUsings>enable</ImplicitUsings>
77
<Nullable>enable</Nullable>
88
</PropertyGroup>
99

1010
<ItemGroup>
11-
<PackageReference Include="Umbraco.Cms" Version="14.2.0-rc2" />
11+
<PackageReference Include="Umbraco.Cms" Version="15.2.1" />
1212
</ItemGroup>
1313

1414
<ItemGroup>

0 commit comments

Comments
 (0)