Skip to content

Commit 523711a

Browse files
default to insecure when launching mock service
1 parent db3b2f1 commit 523711a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

lib/src/pact_mock_service.dart

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,12 @@ class PactMockService {
5757

5858
/// Sends the Pact Handle to the a newly created "Mock Server"
5959
/// so that the interactions can be mocked
60-
void run({bool secure = true}) {
60+
void run({bool secure = false}) {
61+
if (secure) {
62+
log.warning(
63+
'Secure is currently no longer supported. https://github.com/matthewshirley/pact_dart/issues/6');
64+
}
65+
6166
if (interactions.isEmpty) {
6267
throw NoInteractionsError();
6368
}

0 commit comments

Comments
 (0)