tests are now in the tests folder

This commit is contained in:
filipriec
2025-02-24 14:06:46 +01:00
parent 5df7311e41
commit ea12e20f87
6 changed files with 17 additions and 4 deletions

View File

@@ -0,0 +1,4 @@
// server/tests/adresar/mod.rs
pub mod post_adresar_test;
pub mod put_adresar_test;

View File

@@ -1,5 +1,5 @@
// src/adresar/tests/post_adresar_test.rs
use super::super::handlers::post_adresar;
use server::adresar::handlers::post_adresar;
use common::proto::multieko2::adresar::PostAdresarRequest;
use sqlx::{postgres::PgPoolOptions, PgPool};
use std::env;

View File

@@ -1,5 +1,5 @@
// src/adresar/tests/put_adresar_test.rs
use super::super::handlers::put_adresar;
use server::adresar::handlers::put_adresar;
use common::proto::multieko2::adresar::{AdresarResponse, PutAdresarRequest};
use sqlx::{postgres::PgPoolOptions, PgPool};
use std::env;

2
server/tests/mod.rs Normal file
View File

@@ -0,0 +1,2 @@
pub mod adresar;
pub mod common;