refactored test module names
This commit is contained in:
1 parent
00ba64fd91
commit
04d4d1b7a9
3 files changed
+3
-3
No files matched your search
@@ -167,7 +167,7 @@ impl ExternalId {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
pub mod test {
|
pub mod test_external_ids {
|
||||||
use std::any::Any;
|
use std::any::Any;
|
||||||
|
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|||||||
@@ -98,7 +98,7 @@ pub fn list_securities(conn: &Connection) -> Result<Vec<Security>> {
|
|||||||
|
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod test {
|
mod test_securities {
|
||||||
use rusqlite::{Connection, params};
|
use rusqlite::{Connection, params};
|
||||||
|
|
||||||
use crate::db::_test_utils::*;
|
use crate::db::_test_utils::*;
|
||||||
|
|||||||
+1
-1
@@ -102,7 +102,7 @@ pub fn apply_migrations(conn: &mut Connection) -> Result<(), Error> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(test)]
|
#[cfg(test)]
|
||||||
mod test {
|
mod test_migration {
|
||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
fn create_basic_migrations() -> Vec<String> {
|
fn create_basic_migrations() -> Vec<String> {
|
||||||
|
|||||||
Reference in new issue
Block a user