Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
version: 2
updates:
- package-ecosystem: "nuget"
directory: "/"
schedule:
interval: "daily"
time: "09:00"
timezone: "UTC"
open-pull-requests-limit: 10
labels:
- "dependencies"
- "nuget"
commit-message:
prefix: "chore"
include: "scope"
2 changes: 1 addition & 1 deletion SupabaseTests/Client.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ private static string RandomString(int length)
[TestInitialize]
public async Task InitializeTest()
{
_instance = new Supabase.Client("http://localhost", null, new Supabase.SupabaseOptions
_instance = new Supabase.Client("http://localhost", "sb_secret_N7UND0UgjKTVK-Uodkm0Hg_xSvEMPvz", new Supabase.SupabaseOptions
{
AuthUrlFormat = "{0}:54321/rest/v1",
RealtimeUrlFormat = "ws://127.0.0.1:54321/realtime/v1",
Expand Down
4 changes: 2 additions & 2 deletions SupabaseTests/StatelessClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ public class StatelessClient
[TestMethod("Can access Stateless REST")]
public async Task CanAccessStatelessRest()
{
var restOptions = GetRestOptions(null, options);
var restOptions = GetRestOptions("sb_secret_N7UND0UgjKTVK-Uodkm0Hg_xSvEMPvz", options);
var result1 = await new Supabase.Postgrest.Client(String.Format(options.RestUrlFormat, supabaseUrl), restOptions).Table<Channel>().Get();

var result2 = await From<Channel>(supabaseUrl, null, options).Get();
var result2 = await From<Channel>(supabaseUrl, "sb_secret_N7UND0UgjKTVK-Uodkm0Hg_xSvEMPvz", options).Get();

Assert.AreEqual(result1.Models.Count, result2.Models.Count);
}
Expand Down
Loading