From 808371b27119a964ada81b3ba2688420ad27ecca Mon Sep 17 00:00:00 2001 From: "Alexander \"PapaTutuWawa" Date: Sun, 2 Apr 2023 23:23:50 +0200 Subject: [PATCH] chore(tests): Fix tests --- packages/moxxmpp/test/helpers/xmpp.dart | 4 +-- packages/moxxmpp/test/negotiator_test.dart | 2 +- packages/moxxmpp/test/stringxml_test.dart | 4 +-- packages/moxxmpp/test/xeps/xep_0030_test.dart | 4 +-- packages/moxxmpp/test/xeps/xep_0198_test.dart | 26 +++++++++---------- packages/moxxmpp/test/xeps/xep_0280_test.dart | 2 +- packages/moxxmpp/test/xeps/xep_0352_test.dart | 2 +- packages/moxxmpp/test/xeps/xep_0386_test.dart | 4 +-- packages/moxxmpp/test/xeps/xep_0388_test.dart | 10 +++---- .../moxxmpp/test/xeps/xep_xxxx_fast_test.dart | 6 ++--- packages/moxxmpp/test/xmpp_test.dart | 10 +++---- 11 files changed, 37 insertions(+), 37 deletions(-) diff --git a/packages/moxxmpp/test/helpers/xmpp.dart b/packages/moxxmpp/test/helpers/xmpp.dart index c096fb7..3833b8b 100644 --- a/packages/moxxmpp/test/helpers/xmpp.dart +++ b/packages/moxxmpp/test/helpers/xmpp.dart @@ -58,7 +58,7 @@ List buildAuthenticatedPlay(ConnectionSettings settings) { ); return [ StringExpectation( - "", + "", ''' buildAuthenticatedPlay(ConnectionSettings settings) { '', ), StringExpectation( - "", + "", ''' ", + "", ''' ", + StreamHeaderNonza(JID.fromString('user@uwu.server')).toXml(), + "", ); expect( diff --git a/packages/moxxmpp/test/xeps/xep_0030_test.dart b/packages/moxxmpp/test/xeps/xep_0030_test.dart index 4f3b903..f4cba2c 100644 --- a/packages/moxxmpp/test/xeps/xep_0030_test.dart +++ b/packages/moxxmpp/test/xeps/xep_0030_test.dart @@ -12,7 +12,7 @@ void main() { final fakeSocket = StubTCPSocket( [ StringExpectation( - "", + "", ''' ', ), StringExpectation( - "", + "", ''' ", + "", ''' ', ), StringExpectation( - "", + "", ''' ", + "", ''' ', ), StringExpectation( - "", + "", ''' ", + "", ''' ', ), StringExpectation( - "", + "", ''' ", + "", ''' ', ), StringExpectation( - "", + "", ''' ", + "", ''' ', ), StringExpectation( - "", + "", ''' ", + "", ''' ", + "", ''' ", + "", ''' ", + "", ''' ", + "", ''' ", + "", ''' ", + "", ''' ", + "", ''' ", + "", ''' ", + "", ''' ", + "", ''' ", + "", ''' ", + "", ''' ", + "", ''' ", + "", ''' ", + "", ''' ', ), StringExpectation( - "", + "", ''' ", + "", ''' ", + "", ''' ", + "", '''