get method passing without any problem
This commit is contained in:
@@ -5,9 +5,24 @@ use common::proto::multieko2::tables_data::GetTableDataRequest;
|
||||
use crate::common::setup_test_db;
|
||||
use sqlx::{PgPool, Row};
|
||||
use tonic;
|
||||
use chrono::Utc;
|
||||
use chrono::{DateTime, Utc};
|
||||
use serde_json::json;
|
||||
use std::collections::HashMap;
|
||||
use futures::future::join_all;
|
||||
use rand::distr::Alphanumeric;
|
||||
use rand::Rng;
|
||||
use rust_decimal::Decimal;
|
||||
use rust_decimal_macros::dec;
|
||||
use server::table_definition::handlers::post_table_definition;
|
||||
use server::tables_data::handlers::post_table_data;
|
||||
use common::proto::multieko2::table_definition::{
|
||||
PostTableDefinitionRequest, ColumnDefinition as TableColumnDefinition, TableLink
|
||||
};
|
||||
use common::proto::multieko2::tables_data::PostTableDataRequest;
|
||||
use prost_types::Value;
|
||||
use prost_types::value::Kind;
|
||||
use tokio::sync::mpsc;
|
||||
use server::indexer::IndexCommand;
|
||||
|
||||
#[fixture]
|
||||
async fn pool() -> PgPool {
|
||||
@@ -466,3 +481,5 @@ async fn test_get_invalid_column(
|
||||
|
||||
cleanup_test_data(&pool, &schema_name, &table_name).await;
|
||||
}
|
||||
|
||||
include!("get_table_data_test2.rs");
|
||||
|
||||
1112
server/tests/tables_data/handlers/get_table_data_test2.rs
Normal file
1112
server/tests/tables_data/handlers/get_table_data_test2.rs
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user