From c4f861ec176401c8698af25f01c39002c6a2762b Mon Sep 17 00:00:00 2001 From: Antony Thorpe <1023740+AntonyThorpe@users.noreply.github.com> Date: Fri, 7 Jun 2024 18:29:02 +1200 Subject: [PATCH] Revert "Delete files" This reverts commit 6e2e5c53372ed9f5fe5749756ec8cfded50d0283. --- tests/Fixtures/BulkLoaderRelationTest.yml | 12 +++++++ tests/Fixtures/BulkLoaderTest.yml | 7 ++++ tests/Fixtures/Product.yml | 34 ++++++++++++++++++ tests/Fixtures/User.yml | 43 +++++++++++++++++++++++ 4 files changed, 96 insertions(+) create mode 100644 tests/Fixtures/BulkLoaderRelationTest.yml create mode 100644 tests/Fixtures/BulkLoaderTest.yml create mode 100644 tests/Fixtures/Product.yml create mode 100644 tests/Fixtures/User.yml diff --git a/tests/Fixtures/BulkLoaderRelationTest.yml b/tests/Fixtures/BulkLoaderRelationTest.yml new file mode 100644 index 0000000..a390b66 --- /dev/null +++ b/tests/Fixtures/BulkLoaderRelationTest.yml @@ -0,0 +1,12 @@ +AntonyThorpe\Consumer\Tests\Model\Course: + math101: + Title: 'Math 101' + tech102: + Title: 'Tech 102' + mus103: + Title: 'Music 103' + +AntonyThorpe\Consumer\Tests\Model\CourseSelection: + tech102: + Course: =>AntonyThorpe\Consumer\Tests\Model\Course.tech102 + Term: 3 diff --git a/tests/Fixtures/BulkLoaderTest.yml b/tests/Fixtures/BulkLoaderTest.yml new file mode 100644 index 0000000..17e7d09 --- /dev/null +++ b/tests/Fixtures/BulkLoaderTest.yml @@ -0,0 +1,7 @@ +AntonyThorpe\Consumer\Tests\Model\Country: + nz: + Title: New Zealand + Code: NZ + au: + Title: Australia + Code: AU diff --git a/tests/Fixtures/Product.yml b/tests/Fixtures/Product.yml new file mode 100644 index 0000000..96cd263 --- /dev/null +++ b/tests/Fixtures/Product.yml @@ -0,0 +1,34 @@ +AntonyThorpe\Consumer\Tests\Model\Product: + products: + Title: Shop + URLSegment: shop + Content:

This is some content

+ ShowInMenus: 1 + ShowInSearch: 1 + pm1: + InternalItemID: SPACE + Title: Space - Beyond the Solar System + BasePrice: 99.99 + URLSegment: alien + Content:

This is some content

+ Parent: =>AntonyThorpe\Consumer\Tests\Model\Product.products + ShowInMenus: 0 + ShowInSearch: 0 + pm2: + InternalItemID: BOOK + Title: Book of Bad Smells + BasePrice: 12345.89 + URLSegment: book + Content:

This is some content

+ Parent: =>AntonyThorpe\Consumer\Tests\Model\Product.products + ShowInMenus: 1 + ShowInSearch: 1 + pm3: + InternalItemID: CFIRE + Title: Chariot of Fire will need to be updated along with the default selling price + BasePrice: 100.00 + URLSegment: chariot + Content:

This is some content

+ Parent: =>AntonyThorpe\Consumer\Tests\Model\Product.products + ShowInMenus: 1 + ShowInSearch: 0 diff --git a/tests/Fixtures/User.yml b/tests/Fixtures/User.yml new file mode 100644 index 0000000..eb4d26f --- /dev/null +++ b/tests/Fixtures/User.yml @@ -0,0 +1,43 @@ +AntonyThorpe\Consumer\Tests\Model\User: + um1: + Name: Will Be Updated + UserName: Will Be Updated + Email: Sincere@april.biz + Phone: Will Be Updated + Website: Will Be Updated + Guid: 1 + um2: + Name: Will Be Updated + UserName: Will Be Updated + Email: Shanna@melissa.tv + Phone: Will Be Updated + Website: Will Be Updated + Guid: 2 + um3: + Name: Clementine Will be changed + UserName: Samantha + Email: Nathan@yesenia.net + Phone: 1-463-123-4447 + Website: ramiro.info + Guid: 3 + um4: + Name: Patricia Lebsack + UserName: Karianne + Email: Julianne.OConner@kory.org + Phone: 493-170-9623 x156 + Website: kale.biz + Guid: 4 + um5: + Name: Chelsey Dietrich + UserName: Kamren + Email: Lucio_Hettinger@annie.ca + Phone: (254)954-1289 + Website: demarco.info + Guid: 5 + um6: + Name: Will Not Be Found In The External API or in Consumer Subclass + UserName: LocalOnly + Email: LocalOnly@local.net + Phone: 954-1289 + Website: local.info + Guid: 99999