Skip to content

Commit

Permalink
Small documentation changes and more specific tests for DELETE.
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhi13man committed May 14, 2021
1 parent 8dd80d2 commit 5195613
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ Development of a Null Safe Dart/Flutter Package for Nordigen EU PSD2 AISP API In

For more information about the API view [Nordigen's Account Information API documentation](https://nordigen.com/en/account_information_documenation/integration/quickstart_guide/).

**Find Package on Official Dart Pub:**

[![nordigen_integration version](https://img.shields.io/pub/v/nordigen_integration.svg)](https://pub.dev/packages/nordigen_integration)

## Usage Steps
Expand Down Expand Up @@ -82,7 +80,7 @@ For more information about the API view [Nordigen's Account Information API docu

Analogous to Step 6 of [Account Information API documentation](https://nordigen.com/en/account_information_documenation/integration/quickstart_guide/) for Account Balances.

There are also verious other methods for implementing POST, GET and DELETE requests across various endpoints in Nordigen Server, which are self explanatory:
There are also various other methods for implementing POST, GET and DELETE requests across various endpoints in Nordigen Server, which are self explanatory:

1. `getASPSPUsingID({required String aspspID})`

Expand Down
2 changes: 1 addition & 1 deletion analysis_options.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ linter:
# Prefer seeing Local Variable types on both sides of declaration
omit_local_variable_types: false

# Use parameter order as in json response
# Use parameter order as in Documentation Schema
always_put_required_named_parameters_first: false

# Util classes are awesome!
Expand Down
5 changes: 3 additions & 2 deletions test/nordigen_integration_test.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import 'dart:math';

import 'package:flutter_test/flutter_test.dart';
import 'package:http/http.dart' show ClientException;

import 'package:nordigen_integration/nordigen_integration.dart';

Expand Down Expand Up @@ -119,7 +120,7 @@ void main() {
await nordigenObject.getEndUserAgreementUsingID(
endUserAgreementID: endUserAgreement.id,
);
} catch (_) {
} on ClientException {
hasRequestFailed = true;
}
expect(hasRequestFailed, true); // If successfully deleted, should fail.
Expand Down Expand Up @@ -184,7 +185,7 @@ void main() {
await nordigenObject.getRequisitionUsingID(
requisitionID: requisitionModel.id,
);
} catch (_) {
} on ClientException {
hasRequestFailed = true;
}
expect(hasRequestFailed, true); // If successfully deleted, should fail.
Expand Down

0 comments on commit 5195613

Please sign in to comment.