From b40c35df5e66f38fb70c39d95fdff8f2ffbd0262 Mon Sep 17 00:00:00 2001 From: Tom Zeller Date: Fri, 8 Mar 2019 11:43:18 -0600 Subject: [PATCH] Fixtures for table unit tests (CO-1716) --- app/tests/Fixture/ApiUsersFixture.php | 34 ++++++++++++++++++++ app/tests/Fixture/AttributeGroupsFixture.php | 34 ++++++++++++++++++++ app/tests/Fixture/AttributesFixture.php | 34 ++++++++++++++++++++ app/tests/Fixture/MatchgridsFixture.php | 34 ++++++++++++++++++++ app/tests/Fixture/MetaFixture.php | 34 ++++++++++++++++++++ app/tests/Fixture/PermissionsFixture.php | 34 ++++++++++++++++++++ app/tests/Fixture/RuleAttributesFixture.php | 34 ++++++++++++++++++++ app/tests/Fixture/RulesFixture.php | 34 ++++++++++++++++++++ app/tests/Fixture/SystemsOfRecordFixture.php | 34 ++++++++++++++++++++ app/tests/Fixture/empty | 0 10 files changed, 306 insertions(+) create mode 100644 app/tests/Fixture/ApiUsersFixture.php create mode 100644 app/tests/Fixture/AttributeGroupsFixture.php create mode 100644 app/tests/Fixture/AttributesFixture.php create mode 100644 app/tests/Fixture/MatchgridsFixture.php create mode 100644 app/tests/Fixture/MetaFixture.php create mode 100644 app/tests/Fixture/PermissionsFixture.php create mode 100644 app/tests/Fixture/RuleAttributesFixture.php create mode 100644 app/tests/Fixture/RulesFixture.php create mode 100644 app/tests/Fixture/SystemsOfRecordFixture.php delete mode 100644 app/tests/Fixture/empty diff --git a/app/tests/Fixture/ApiUsersFixture.php b/app/tests/Fixture/ApiUsersFixture.php new file mode 100644 index 000000000..97cd3df57 --- /dev/null +++ b/app/tests/Fixture/ApiUsersFixture.php @@ -0,0 +1,34 @@ + 'api_users']; +} \ No newline at end of file diff --git a/app/tests/Fixture/AttributeGroupsFixture.php b/app/tests/Fixture/AttributeGroupsFixture.php new file mode 100644 index 000000000..07e3f5e18 --- /dev/null +++ b/app/tests/Fixture/AttributeGroupsFixture.php @@ -0,0 +1,34 @@ + 'attribute_groups']; +} \ No newline at end of file diff --git a/app/tests/Fixture/AttributesFixture.php b/app/tests/Fixture/AttributesFixture.php new file mode 100644 index 000000000..819f8f56f --- /dev/null +++ b/app/tests/Fixture/AttributesFixture.php @@ -0,0 +1,34 @@ + 'attributes']; +} \ No newline at end of file diff --git a/app/tests/Fixture/MatchgridsFixture.php b/app/tests/Fixture/MatchgridsFixture.php new file mode 100644 index 000000000..9f4ce55bc --- /dev/null +++ b/app/tests/Fixture/MatchgridsFixture.php @@ -0,0 +1,34 @@ + 'matchgrids', 'records' => true]; +} \ No newline at end of file diff --git a/app/tests/Fixture/MetaFixture.php b/app/tests/Fixture/MetaFixture.php new file mode 100644 index 000000000..5f2a848ff --- /dev/null +++ b/app/tests/Fixture/MetaFixture.php @@ -0,0 +1,34 @@ + 'meta']; +} \ No newline at end of file diff --git a/app/tests/Fixture/PermissionsFixture.php b/app/tests/Fixture/PermissionsFixture.php new file mode 100644 index 000000000..456d2de4c --- /dev/null +++ b/app/tests/Fixture/PermissionsFixture.php @@ -0,0 +1,34 @@ + 'permissions']; +} \ No newline at end of file diff --git a/app/tests/Fixture/RuleAttributesFixture.php b/app/tests/Fixture/RuleAttributesFixture.php new file mode 100644 index 000000000..c05f20b2a --- /dev/null +++ b/app/tests/Fixture/RuleAttributesFixture.php @@ -0,0 +1,34 @@ + 'rule_attributes']; +} \ No newline at end of file diff --git a/app/tests/Fixture/RulesFixture.php b/app/tests/Fixture/RulesFixture.php new file mode 100644 index 000000000..9838dd5d6 --- /dev/null +++ b/app/tests/Fixture/RulesFixture.php @@ -0,0 +1,34 @@ + 'rules']; +} \ No newline at end of file diff --git a/app/tests/Fixture/SystemsOfRecordFixture.php b/app/tests/Fixture/SystemsOfRecordFixture.php new file mode 100644 index 000000000..da14d802c --- /dev/null +++ b/app/tests/Fixture/SystemsOfRecordFixture.php @@ -0,0 +1,34 @@ + 'systems_of_record']; +} \ No newline at end of file diff --git a/app/tests/Fixture/empty b/app/tests/Fixture/empty deleted file mode 100644 index e69de29bb..000000000