diff --git a/webrtc/RTCDtlsTransport-getRemoteCertificates.html b/webrtc/RTCDtlsTransport-getRemoteCertificates.html index e7b9e46ab6e938c..d1163b2a634fe14 100644 --- a/webrtc/RTCDtlsTransport-getRemoteCertificates.html +++ b/webrtc/RTCDtlsTransport-getRemoteCertificates.html @@ -56,7 +56,7 @@ .map(senderReceiver => senderReceiver.transport) .filter(dtlsTransport => dtlsTransport); // filter null/undefined - assert_greater_than(dtlsTransports.length, 2, 'expect to find at least 2 RTCDtlsTransports'); + assert_greater_than_equal(dtlsTransports.length, 2, 'expect to find at least 2 RTCDtlsTransports'); for (const dtlsTransport of dtlsTransports) { validateConnectingDtlsTransport(dtlsTransport); @@ -88,7 +88,7 @@ ] .filter(dtlsTransport => dtlsTransport); // filter null/undefined - assert_greater_than(dtlsTransports.length, 2, 'expect to find at least 2 RTCDtlsTransports'); + assert_greater_than_equal(dtlsTransports.length, 2, 'expect to find at least 2 RTCDtlsTransports'); for (const dtlsTransport of dtlsTransports) { validateConnectingDtlsTransport(dtlsTransport); diff --git a/webrtc/RTCIceTransport.html b/webrtc/RTCIceTransport.html index 1a2f8f769591677..06fe0468a71ccb6 100644 --- a/webrtc/RTCIceTransport.html +++ b/webrtc/RTCIceTransport.html @@ -96,7 +96,7 @@ .filter(dtlsTransport => dtlsTransport) // filter null/undefined .map(dtlsTransport => dtlsTransport.iceTransport); - assert_greater_than(iceTransports.length, 2, 'expect to find at least 2 RTCIceTransports'); + assert_greater_than_equal(iceTransports.length, 2, 'expect to find at least 2 RTCIceTransports'); await waitForConnectedState(pc1); await waitForConnectedState(pc2); @@ -129,7 +129,7 @@ .filter(dtlsTransport => dtlsTransport) // filter null/undefined .map(dtlsTransport => dtlsTransport.iceTransport); - assert_greater_than(iceTransports.length, 2, 'expect to find at least 2 RTCIceTransports'); + assert_greater_than_equal(iceTransports.length, 2, 'expect to find at least 2 RTCIceTransports'); await waitForConnectedState(pc1); await waitForConnectedState(pc2); @@ -158,7 +158,7 @@ .filter(dtlsTransport => dtlsTransport) // filter null/undefined .map(dtlsTransport => dtlsTransport.iceTransport); - assert_greater_than(iceTransports.length, 1, 'expect to find at least 1 RTCIceTransports'); + assert_greater_than_equal(iceTransports.length, 1, 'expect to find at least 1 RTCIceTransports'); for (const iceTransport of iceTransports) { validateUnconnectedIceTransport(iceTransport);