Skip to content

Commit ff78949

Browse files
Fix tsl transport tests
1 parent e15ce94 commit ff78949

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

test/connection-tls.test.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
* connection-tls.test.ts - test low level communication protocol with tls sockets and raw commands
33
*/
44

5-
import { SQLiteCloudTlsConnection } from '../src/index'
65
import { SQLiteCloudError } from '../src/index'
76
import { SQLiteCloudConnection, anonimizeCommand } from '../src/connection'
87
import {
@@ -54,7 +53,7 @@ describe('connection-tls', () => {
5453

5554
it('should connect with config object string', done => {
5655
const configObj = getChinookConfig()
57-
const conn = new SQLiteCloudTlsConnection(configObj, error => {
56+
const conn = new SQLiteCloudConnection(configObj, error => {
5857
expect(error).toBeNull()
5958
expect(conn.connected).toBe(true)
6059

@@ -73,7 +72,7 @@ describe('connection-tls', () => {
7372
done()
7473
}
7574

76-
const conn = new SQLiteCloudTlsConnection(CHINOOK_DATABASE_URL, error => {
75+
const conn = new SQLiteCloudConnection(CHINOOK_DATABASE_URL, error => {
7776
expect(error).toBeNull()
7877
expect(conn.connected).toBe(true)
7978

@@ -93,7 +92,7 @@ describe('connection-tls', () => {
9392
delete testingConfig.password
9493

9594
try {
96-
const conn = new SQLiteCloudTlsConnection(testingConfig)
95+
const conn = new SQLiteCloudConnection(testingConfig)
9796
} catch (error) {
9897
expect(error).toBeDefined()
9998
expect(error).toBeInstanceOf(SQLiteCloudError)

0 commit comments

Comments
 (0)