File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed
Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 55 <ProjectReference Include =" ../../examples/sqlite/CommunityToolkit.Aspire.Sqlite.AppHost/CommunityToolkit.Aspire.Sqlite.AppHost.csproj" />
66 <ProjectReference Include =" ..\..\src\CommunityToolkit.Aspire.Microsoft.Data.Sqlite\CommunityToolkit.Aspire.Microsoft.Data.Sqlite.csproj" />
77 </ItemGroup >
8- <ItemGroup >
9- <PackageReference Include =" mod_spatialite" />
10- </ItemGroup >
118</Project >
Original file line number Diff line number Diff line change 88
99namespace CommunityToolkit . Aspire . Hosting . Sqlite . Tests ;
1010
11- [ RequiresWindows ( Reason = "The NuGet package being used for the extension is Windows-only." ) ]
1211public class ResourceWithExtensionTests ( ITestOutputHelper testOutputHelper )
1312{
14- [ Fact ]
13+ [ Fact ( Skip = "Skipping until there is a viable NuGet package for sqlite-vec we can use." ) ]
1514 public async Task ResourceCreatedWithExtensionIsAccessible ( )
1615 {
1716 using var builder = TestDistributedApplicationBuilder . Create ( testOutputHelper ) ;
1817
1918 var sqlite = builder . AddSqlite ( "sqlite" )
20- . WithNuGetExtension ( "mod_spatialite " ) ;
19+ . WithNuGetExtension ( "sqlite-vec " ) ;
2120
2221 await using var app = builder . Build ( ) ;
2322
@@ -35,11 +34,11 @@ public async Task ResourceCreatedWithExtensionIsAccessible()
3534
3635 var connection = host . Services . GetRequiredService < SqliteConnection > ( ) ;
3736
38- var result = await IsExtensionLoadedAsync ( connection , "spatialite_version ()" ) ;
37+ var result = await IsExtensionLoadedAsync ( connection , "vec_version ()" ) ;
3938
4039 Assert . NotNull ( result ) ;
4140 var version = Assert . IsType < string > ( result ) ;
42- Assert . Equal ( "4.3.0a " , version ) ;
41+ Assert . Equal ( "0.1.16 " , version ) ;
4342 }
4443
4544 private static async Task < object ? > IsExtensionLoadedAsync ( SqliteConnection connection , string checkFunction )
You can’t perform that action at this time.
0 commit comments