diff options
| author | Joe Carstairs <jcarstairs@scottlogic.com> | 2025-07-28 13:22:53 +0100 |
|---|---|---|
| committer | Joe Carstairs <jcarstairs@scottlogic.com> | 2025-07-28 13:30:27 +0100 |
| commit | 2361adeb0ca77904138e3466d51c2f44cf6df613 (patch) | |
| tree | f6e7192908f99fab62061913d8a1e9d2b918414b /schist_fakes/src/transaction_categorisation.rs | |
| parent | c7ed1e61ce2218be0b9e60577454124c4e43a366 (diff) | |
Tidier folders
Diffstat (limited to 'schist_fakes/src/transaction_categorisation.rs')
| -rw-r--r-- | schist_fakes/src/transaction_categorisation.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/schist_fakes/src/transaction_categorisation.rs b/schist_fakes/src/transaction_categorisation.rs deleted file mode 100644 index ce9460c..0000000 --- a/schist_fakes/src/transaction_categorisation.rs +++ /dev/null @@ -1,16 +0,0 @@ -use schist_models::transaction_categorisation::{TransactionCategorisation, TransactionCategorisationBuilder}; - -pub fn make_fake_transaction_categorisation(id: i32) -> TransactionCategorisation { - make_fake_transaction_categorisation_builder(id).build().unwrap() -} - -pub fn make_fake_transaction_categorisation_builder(id: i32) -> TransactionCategorisationBuilder { - let mut builder = TransactionCategorisationBuilder::default(); - builder - .id(id) - .description(String::from("Fake category transfer")) - .quantity(0) - .transaction_id(0) - .category_id(0); - builder -} |
