Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
2 changes: 1 addition & 1 deletion packages/dart/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## [8.0.1](https://github.com/parse-community/Parse-SDK-Flutter/compare/flutter-8.0.0...flutter-8.0.1) (2024-11-28)
## [8.1.0](https://github.com/parse-community/Parse-SDK-Flutter/compare/flutter-8.0.0...flutter-8.1.0) (2024-11-28)

### Features

Expand Down
2 changes: 1 addition & 1 deletion packages/dart/lib/src/base/parse_constants.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
part of '../../parse_server_sdk.dart';

// Library
const String keySdkVersion = '8.0.1';
const String keySdkVersion = '8.1.0';
const String keyLibraryName = 'Flutter Parse SDK';

// End Points
Expand Down
2 changes: 1 addition & 1 deletion packages/dart/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: parse_server_sdk
description: The Dart SDK to connect to Parse Server. Build your apps faster with Parse Platform, the complete application stack.
version: 8.0.1
version: 8.1.0
homepage: https://parseplatform.org
repository: https://github.com/parse-community/Parse-SDK-Flutter
issue_tracker: https://github.com/parse-community/Parse-SDK-Flutter/issues
Expand Down
28 changes: 28 additions & 0 deletions packages/dart/test/src/network/parse_dio_client_test.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import 'package:dio/dio.dart';
import 'package:parse_server_sdk/parse_server_sdk.dart';
import 'package:test/test.dart';

import '../../test_utils.dart';

void main() {
setUpAll(() async {
await initializeParse();
});

group('ParseDioClient Tests', () {
late ParseDioClient parseDioClient;

setUp(() async {
parseDioClient = ParseDioClient();
});

test('should return an instance of Dio from dioClient', () {
// arrange
final dioClient = parseDioClient.dioClient;

// assert
expect(dioClient, isNotNull);
expect(dioClient, isA<Dio>());
});
});
}
28 changes: 28 additions & 0 deletions packages/dart/test/src/network/parse_http_client_test.dart
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import 'package:http/http.dart' as http;
import 'package:parse_server_sdk/parse_server_sdk.dart';
import 'package:test/test.dart';

import '../../test_utils.dart';

void main() {
setUpAll(() async {
await initializeParse();
});

group('ParseDioClient Tests', () {
late ParseHTTPClient parseHTTPClient;

setUp(() async {
parseHTTPClient = ParseHTTPClient();
});

test('should return an instance of Dio from dioClient', () {
// arrange
final dioClient = parseHTTPClient.httpClient;

// assert
expect(dioClient, isNotNull);
expect(dioClient, isA<http.BaseClient>());
});
});
}
Loading