Commit Graph

27 Commits

Author SHA1 Message Date
Nabeel Shahzad
6dfab75f08 Add api routes to get/add/remove bids for a user #172 2018-02-22 10:44:15 -06:00
Nabeel Shahzad
8393ae2851 Add /flight/:id/route resource, returns all route info that's in the navaid database closes #183 2018-02-20 12:06:52 -06:00
Nabeel Shahzad
a8e06c6cc6 base conversion classes for units #189 2018-02-10 21:16:32 -06:00
Nabeel Shahzad
3aa01aaa18 tests check the data object in return #186 2018-02-10 18:17:38 -06:00
Nabeel Shahzad
21e13b6b92 make sure resources return the data object #186 2018-02-10 17:34:46 -06:00
Nabeel Shahzad
80cd80a5cf Change the filtering to operate without being in the service layer #174 2018-02-09 15:42:37 -06:00
Nabeel Shahzad
f6b2102e48 fix bug where aircraft restrictions aren't respected in flight calls #170 2018-02-09 14:26:14 -06:00
Nabeel Shahzad
71189e4f2d Change most APIs to require API key #173 2018-02-09 13:20:35 -06:00
Nabeel Shahzad
0b9654cf61 Reduce the amount of test data produced to prevent data generation errors 2018-01-21 13:51:42 -05:00
Nabeel Shahzad
082c33ae59 Add /api/flights to retrieve all flights paginated #120 2018-01-06 15:21:21 -06:00
Nabeel Shahzad
2de8d9ed64 Add /api/airlines and /api/airline/{id} #120 2018-01-06 15:13:33 -06:00
Nabeel Shahzad
46a411e27b Cleanup tests to automatically inject proper headers when needed 2018-01-06 12:07:22 -06:00
Nabeel Shahzad
db3c60987e Change tests to use generated user 2018-01-04 21:05:26 -06:00
Nabeel Shahzad
c65da0a0af delete the user bids when a flight is deleted #103 2018-01-01 09:32:04 -06:00
Nabeel Shahzad
e51eb70298 fix null user in bid tests 2017-12-13 11:33:55 -06:00
Nabeel Shahzad
ab75ef7cf8 Fix and enable Subfleet/Fare tests and factories 2017-12-13 11:29:14 -06:00
Nabeel Shahzad
f3dea588d9 Tests now use factory-generated data, wired up before cleaning up some of the fixture data 2017-12-12 21:50:55 -06:00
Nabeel Shahzad
da5523e972 test for multiple bids on same flight with block setting enabled 2017-12-12 17:26:27 -06:00
Nabeel Shahzad
248a8d1488 Add more API resources; user bid management and tests #35 #36 2017-12-12 16:58:27 -06:00
Nabeel Shahzad
373f45c86c Convert flight transformer to the native Laravel resource object 2017-12-12 07:25:11 -06:00
Nabeel Shahzad
2e1c0a75d4 Fix missing table name in migration and fix flight tests 2017-12-12 06:48:04 -06:00
Nabeel Shahzad
7c5486c9e8 disable problematic test for now, meh 2017-11-22 12:09:20 -06:00
Nabeel Shahzad
5e990164ee updated subfleet admin design 2017-11-22 11:52:02 -06:00
Nabeel Shahzad
c45d0541ef #35 rest api additions for pireps 2017-08-14 23:36:49 -05:00
Nabeel Shahzad
70dbfbcd3f #21 clean up the tests 2017-07-04 13:09:44 -05:00
Nabeel Shahzad
4608e02598 skip tests that aren't working/redone (yet) 2017-07-04 01:12:55 -05:00
Nabeel Shahzad
6ef83084d1 some test changes 2017-06-19 11:30:39 -05:00