From b5d2e1ba1140f670c771b8fbececcd0ec79ff288 Mon Sep 17 00:00:00 2001 From: Nabeel Shahzad Date: Tue, 12 Dec 2017 20:14:01 -0600 Subject: [PATCH] Fix for API key and start adding a few data factories --- .idea/inspectionProfiles/Project_Default.xml | 1 + database/factories/AirportFactory.php | 5 +- database/factories/FlightFactory.php | 30 ++++++++ database/factories/ModelFactory.php | 11 --- database/factories/UserFactory.php | 17 ++++ tests/ApiTest.php | 10 ++- tests/TestCase.php | 1 + tests/traits/FixtureDataLoader.php | 81 ++++++++++++++++++++ 8 files changed, 140 insertions(+), 16 deletions(-) create mode 100644 database/factories/FlightFactory.php create mode 100644 database/factories/UserFactory.php create mode 100644 tests/traits/FixtureDataLoader.php diff --git a/.idea/inspectionProfiles/Project_Default.xml b/.idea/inspectionProfiles/Project_Default.xml index 6fb884f4..d7fd1ca3 100644 --- a/.idea/inspectionProfiles/Project_Default.xml +++ b/.idea/inspectionProfiles/Project_Default.xml @@ -2,6 +2,7 @@