@@ -252,7 +252,7 @@ async fn nats_tls_valid() {
252252 conf. tls = Some ( TlsEnableableConfig {
253253 enabled : Some ( true ) ,
254254 options : TlsConfig {
255- ca_file : Some ( "tests/data /nats/rootCA.pem" . into ( ) ) ,
255+ ca_file : Some ( "tests/integration /nats/data /rootCA.pem" . into ( ) ) ,
256256 ..Default :: default ( )
257257 } ,
258258 } ) ;
@@ -293,9 +293,9 @@ async fn nats_tls_client_cert_valid() {
293293 conf. tls = Some ( TlsEnableableConfig {
294294 enabled : Some ( true ) ,
295295 options : TlsConfig {
296- ca_file : Some ( "tests/data /nats/rootCA.pem" . into ( ) ) ,
297- crt_file : Some ( "tests/data /nats/nats-client.pem" . into ( ) ) ,
298- key_file : Some ( "tests/data /nats/nats-client.key" . into ( ) ) ,
296+ ca_file : Some ( "tests/integration /nats/data /rootCA.pem" . into ( ) ) ,
297+ crt_file : Some ( "tests/integration /nats/data /nats-client.pem" . into ( ) ) ,
298+ key_file : Some ( "tests/integration /nats/data /nats-client.key" . into ( ) ) ,
299299 ..Default :: default ( )
300300 } ,
301301 } ) ;
@@ -319,7 +319,7 @@ async fn nats_tls_client_cert_invalid() {
319319 conf. tls = Some ( TlsEnableableConfig {
320320 enabled : Some ( true ) ,
321321 options : TlsConfig {
322- ca_file : Some ( "tests/data /nats/rootCA.pem" . into ( ) ) ,
322+ ca_file : Some ( "tests/integration /nats/data /rootCA.pem" . into ( ) ) ,
323323 ..Default :: default ( )
324324 } ,
325325 } ) ;
@@ -343,13 +343,13 @@ async fn nats_tls_jwt_auth_valid() {
343343 conf. tls = Some ( TlsEnableableConfig {
344344 enabled : Some ( true ) ,
345345 options : TlsConfig {
346- ca_file : Some ( "tests/data /nats/rootCA.pem" . into ( ) ) ,
346+ ca_file : Some ( "tests/integration /nats/data /rootCA.pem" . into ( ) ) ,
347347 ..Default :: default ( )
348348 } ,
349349 } ) ;
350350 conf. auth = Some ( NatsAuthConfig :: CredentialsFile {
351351 credentials_file : NatsAuthCredentialsFile {
352- path : "tests/data /nats/nats.creds" . into ( ) ,
352+ path : "tests/integration /nats/data /nats.creds" . into ( ) ,
353353 } ,
354354 } ) ;
355355
@@ -372,13 +372,13 @@ async fn nats_tls_jwt_auth_invalid() {
372372 conf. tls = Some ( TlsEnableableConfig {
373373 enabled : Some ( true ) ,
374374 options : TlsConfig {
375- ca_file : Some ( "tests/data /nats/rootCA.pem" . into ( ) ) ,
375+ ca_file : Some ( "tests/integration /nats/data /rootCA.pem" . into ( ) ) ,
376376 ..Default :: default ( )
377377 } ,
378378 } ) ;
379379 conf. auth = Some ( NatsAuthConfig :: CredentialsFile {
380380 credentials_file : NatsAuthCredentialsFile {
381- path : "tests/data /nats/nats-bad.creds" . into ( ) ,
381+ path : "tests/integration /nats/data /nats-bad.creds" . into ( ) ,
382382 } ,
383383 } ) ;
384384
0 commit comments