Skip to content

Commit bdc0756

Browse files
chore: fix failing test caused from new interaction changes
1 parent 7af7aa8 commit bdc0756

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/integration/pact_dart_test.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,7 @@ void main() {
101101
});
102102

103103
test('should match request with headers', () async {
104-
pact.newInteraction()
105-
'GET', '/alligator',
104+
pact.newInteraction().withRequest('GET', '/alligator',
106105
headers: {'X-ALLIGATOR-LAST-FED': 'Yesterday'});
107106

108107
pact.run(secure: false);

0 commit comments

Comments
 (0)