Skip to content

Commit fc125cf

Browse files
committed
update auth server version and fix failing tests
1 parent 362f682 commit fc125cf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

infra/gotrue/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
version: '3'
33
services:
44
gotrue: # Signup enabled, autoconfirm on
5-
image: supabase/gotrue:v2.146.0
5+
image: supabase/auth:v2.151.0
66
ports:
77
- '9998:9998'
88
environment:

packages/gotrue/test/api_version_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ void main() {
1212
});
1313
final version = ApiVersion.fromResponse(response);
1414
expect(version?.name, validHeader);
15-
expect(version?.timestamp, DateTime(2024, 1, 1));
15+
expect(version?.timestamp, DateTime.parse('2024-01-01 00:00:00.000Z'));
1616
});
1717

1818
test('should return null object for invalid header', () {

0 commit comments

Comments
 (0)