Sam Samai
e01585c9e7
Add runtime configs to tests and clean up
2021-08-06 22:27:03 +10:00
Sam Samai
402c003d84
WIP - failing for postgres on Customer::find().count(db).await.unwrap();
2021-08-05 21:08:28 +10:00
Sam Samai
54461172de
WIP 3
2021-08-02 21:35:41 +10:00
Sam Samai
abed934d3f
WIP strange fail with postgres driver
2021-08-01 16:14:31 +10:00
Sam Samai
1c3e1b410b
Use DATABASE_URL env variable for bakery_chain_tests
2021-07-31 16:50:04 +10:00
Billy Chan
8013f92261
Feature gated mysql tests
2021-07-26 12:43:46 +08:00
Sam Samai
6efb06d28b
Merge branch 'master' into ss/test_suite
...
# Conflicts:
# Cargo.toml
2021-07-25 20:41:42 +10:00
Billy Chan
1cdbcceddb
Testing different db on various async runtime ( #53 )
...
* Testing different db on various async runtime
* Test on various runtime
* No explicit cargo build step
* Cargo build with features
* Hotfix
* With actix_rt
* Only tests "runtime-async-std-native-tls" for now
2021-07-22 19:23:21 +08:00
Sam Samai
dfda079b77
Store baker contact details as Json and test
2021-07-21 15:36:53 +10:00
Sam Samai
74b5dee773
Test updating a deleted entity
2021-07-18 13:52:38 +10:00
Sam Samai
85f512d412
Bakery chain Schema and CRUD now use data from common module
2021-07-15 10:42:25 +10:00
Sam Samai
1fa7c7e177
Test delete cake and bakery
2021-07-10 22:07:57 +10:00
Sam Samai
f961e6e28d
Test bakery update
2021-07-10 21:27:58 +10:00
Sam Samai
7ebfddae91
Test update cake
2021-07-10 21:20:51 +10:00
Sam Samai
550d9a7bcb
Cake price is decimal now
2021-07-08 22:07:08 +10:00
Sam Samai
ad4c1c813c
Test create order
2021-07-08 22:00:46 +10:00
Sam Samai
f05de487ff
Use Decimal for lineitem price
2021-07-07 21:46:21 +10:00
Sam Samai
0eeb37b219
Test create cake
2021-07-05 22:14:16 +10:00
Sam Samai
cf356ecfdb
Test create customer
2021-07-05 21:50:18 +10:00
Sam Samai
a40785c554
Test baker and bakery create
2021-07-05 21:43:32 +10:00
Sam Samai
c820bb66f7
Fix relationship between Cake and lineitems, add Cake schema creation test
2021-06-30 21:16:44 +10:00
Sam Samai
391fb08260
Separate schema tests
2021-06-30 21:15:12 +10:00
Sam Samai
6104770b65
Pull table creation into its own module
2021-06-29 20:12:59 +10:00
Sam Samai
d103671701
Agnostic backend for creating table
2021-06-29 19:39:17 +10:00
Sam Samai
0011f5e7d1
Create Cake and CakesBakers
2021-06-27 16:32:24 +10:00
Sam Samai
c76557135e
Create Lineitem
2021-06-27 15:28:04 +10:00
Sam Samai
1de4d0cd28
Create Customer and Order
2021-06-26 22:09:19 +10:00
Sam Samai
bd2e7a922f
Baker belongs to a bakery
2021-06-26 17:58:37 +10:00