Skip to content

Commit e04cc98

Browse files
authored
feat: add dependabot (#202)
* feat: add dependabot * test: insert key for unit test pass
1 parent ab66a15 commit e04cc98

File tree

3 files changed

+18
-3
lines changed

3 files changed

+18
-3
lines changed

.github/dependabot.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "nuget"
4+
directory: "/"
5+
schedule:
6+
interval: "daily"
7+
time: "09:00"
8+
timezone: "UTC"
9+
open-pull-requests-limit: 10
10+
labels:
11+
- "dependencies"
12+
- "nuget"
13+
commit-message:
14+
prefix: "chore"
15+
include: "scope"

SupabaseTests/Client.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ private static string RandomString(int length)
2424
[TestInitialize]
2525
public async Task InitializeTest()
2626
{
27-
_instance = new Supabase.Client("http://localhost", null, new Supabase.SupabaseOptions
27+
_instance = new Supabase.Client("http://localhost", "sb_secret_N7UND0UgjKTVK-Uodkm0Hg_xSvEMPvz", new Supabase.SupabaseOptions
2828
{
2929
AuthUrlFormat = "{0}:54321/rest/v1",
3030
RealtimeUrlFormat = "ws://127.0.0.1:54321/realtime/v1",

SupabaseTests/StatelessClient.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,10 @@ public class StatelessClient
2424
[TestMethod("Can access Stateless REST")]
2525
public async Task CanAccessStatelessRest()
2626
{
27-
var restOptions = GetRestOptions(null, options);
27+
var restOptions = GetRestOptions("sb_secret_N7UND0UgjKTVK-Uodkm0Hg_xSvEMPvz", options);
2828
var result1 = await new Supabase.Postgrest.Client(String.Format(options.RestUrlFormat, supabaseUrl), restOptions).Table<Channel>().Get();
2929

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

3232
Assert.AreEqual(result1.Models.Count, result2.Models.Count);
3333
}

0 commit comments

Comments
 (0)