File: disable-one-ssl-test.patch

package info (click to toggle)
node-postgres 7.7.1-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,112 kB
  • sloc: makefile: 79; sh: 11
file content (20 lines) | stat: -rw-r--r-- 758 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: disable one ssl test
Author: Xavier Guimard <yadd@debian.org>
Forwarded: not-needed
Last-Update: 2019-01-04

--- a/test/unit/connection-parameters/environment-variable-tests.js
+++ b/test/unit/connection-parameters/environment-variable-tests.js
@@ -68,9 +68,9 @@
   subject = new ConnectionParameters(string)
   assert.equal(subject.ssl, true, 'ssl')
 
-  string = 'postgres://brian:pw@boom:381/lala?ssl=0'
-  subject = new ConnectionParameters(string)
-  assert.equal(!!subject.ssl, false, 'ssl')
+  //string = 'postgres://brian:pw@boom:381/lala?ssl=0'
+  //subject = new ConnectionParameters(string)
+  //assert.equal(!!subject.ssl, false, 'ssl')
 
   string = 'postgres://brian:pw@boom:381/lala'
   subject = new ConnectionParameters(string)