From 392f24d11fef30629ad7dc60ce7fc9f95752d17d Mon Sep 17 00:00:00 2001 From: Timothy J Warren Date: Tue, 17 Mar 2020 15:39:33 -0400 Subject: [PATCH] Update snapshot tests for form generation --- tests/AnimeClient/FormGeneratorTest.php | 2 +- .../FormGeneratorTest__testGeneration__1.php | 3 +++ .../FormGeneratorTest__testGeneration__10.php | 2 ++ .../FormGeneratorTest__testGeneration__11.php | 2 ++ .../FormGeneratorTest__testGeneration__12.php | 2 ++ .../FormGeneratorTest__testGeneration__13.php | 6 ++++++ .../FormGeneratorTest__testGeneration__14.php | 3 +++ .../FormGeneratorTest__testGeneration__15.php | 3 +++ .../FormGeneratorTest__testGeneration__16.php | 5 +++++ .../FormGeneratorTest__testGeneration__17.php | 9 +++++++++ .../FormGeneratorTest__testGeneration__18.php | 9 +++++++++ .../FormGeneratorTest__testGeneration__19.php | 6 ++++++ .../FormGeneratorTest__testGeneration__2.php | 2 ++ .../FormGeneratorTest__testGeneration__20.php | 2 ++ .../FormGeneratorTest__testGeneration__21.php | 2 ++ .../FormGeneratorTest__testGeneration__22.php | 2 ++ .../FormGeneratorTest__testGeneration__23.php | 2 ++ .../FormGeneratorTest__testGeneration__24.php | 2 ++ .../FormGeneratorTest__testGeneration__25.php | 2 ++ .../FormGeneratorTest__testGeneration__3.php | 2 ++ .../FormGeneratorTest__testGeneration__4.php | 2 ++ .../FormGeneratorTest__testGeneration__5.php | 2 ++ .../FormGeneratorTest__testGeneration__6.php | 2 ++ .../FormGeneratorTest__testGeneration__7.php | 2 ++ .../FormGeneratorTest__testGeneration__8.php | 2 ++ .../FormGeneratorTest__testGeneration__9.php | 7 +++++++ 26 files changed, 84 insertions(+), 1 deletion(-) create mode 100644 tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__1.php create mode 100644 tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__10.php create mode 100644 tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__11.php create mode 100644 tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__12.php create mode 100644 tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__13.php create mode 100644 tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__14.php create mode 100644 tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__15.php create mode 100644 tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__16.php create mode 100644 tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__17.php create mode 100644 tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__18.php create mode 100644 tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__19.php create mode 100644 tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__2.php create mode 100644 tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__20.php create mode 100644 tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__21.php create mode 100644 tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__22.php create mode 100644 tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__23.php create mode 100644 tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__24.php create mode 100644 tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__25.php create mode 100644 tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__3.php create mode 100644 tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__4.php create mode 100644 tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__5.php create mode 100644 tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__6.php create mode 100644 tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__7.php create mode 100644 tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__8.php create mode 100644 tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__9.php diff --git a/tests/AnimeClient/FormGeneratorTest.php b/tests/AnimeClient/FormGeneratorTest.php index 88b4b014..b3096098 100644 --- a/tests/AnimeClient/FormGeneratorTest.php +++ b/tests/AnimeClient/FormGeneratorTest.php @@ -270,7 +270,7 @@ class FormGeneratorTest extends AnimeClientTestCase { foreach ($fields as $name => $config) { $html = $this->generator->generate($name, $config); - $this->assertMatchesHtmlSnapshot($html); + $this->assertMatchesSnapshot($html); } } } diff --git a/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__1.php b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__1.php new file mode 100644 index 00000000..8206ba74 --- /dev/null +++ b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__1.php @@ -0,0 +1,3 @@ + Yes + +'; diff --git a/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__10.php b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__10.php new file mode 100644 index 00000000..2fc21a3b --- /dev/null +++ b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__10.php @@ -0,0 +1,2 @@ + +'; diff --git a/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__11.php b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__11.php new file mode 100644 index 00000000..ea5de9fd --- /dev/null +++ b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__11.php @@ -0,0 +1,2 @@ + +'; diff --git a/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__12.php b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__12.php new file mode 100644 index 00000000..b1e33914 --- /dev/null +++ b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__12.php @@ -0,0 +1,2 @@ + +'; diff --git a/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__13.php b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__13.php new file mode 100644 index 00000000..d1f4af33 --- /dev/null +++ b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__13.php @@ -0,0 +1,6 @@ + + + + + +'; diff --git a/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__14.php b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__14.php new file mode 100644 index 00000000..d4346410 --- /dev/null +++ b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__14.php @@ -0,0 +1,3 @@ + Yes + +'; diff --git a/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__15.php b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__15.php new file mode 100644 index 00000000..b0f88bdd --- /dev/null +++ b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__15.php @@ -0,0 +1,3 @@ + Yes + +'; diff --git a/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__16.php b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__16.php new file mode 100644 index 00000000..804a1a2e --- /dev/null +++ b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__16.php @@ -0,0 +1,5 @@ + + + + +'; diff --git a/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__17.php b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__17.php new file mode 100644 index 00000000..a82a2acb --- /dev/null +++ b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__17.php @@ -0,0 +1,9 @@ + + + + + + + + +'; diff --git a/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__18.php b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__18.php new file mode 100644 index 00000000..0ce5af29 --- /dev/null +++ b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__18.php @@ -0,0 +1,9 @@ + + + + + + + + +'; diff --git a/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__19.php b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__19.php new file mode 100644 index 00000000..8934dafb --- /dev/null +++ b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__19.php @@ -0,0 +1,6 @@ + + + + + +'; diff --git a/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__2.php b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__2.php new file mode 100644 index 00000000..9fc4ac0e --- /dev/null +++ b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__2.php @@ -0,0 +1,2 @@ + +'; diff --git a/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__20.php b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__20.php new file mode 100644 index 00000000..bd5f0d42 --- /dev/null +++ b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__20.php @@ -0,0 +1,2 @@ + +'; diff --git a/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__21.php b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__21.php new file mode 100644 index 00000000..2b561aef --- /dev/null +++ b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__21.php @@ -0,0 +1,2 @@ + +'; diff --git a/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__22.php b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__22.php new file mode 100644 index 00000000..1b1ec486 --- /dev/null +++ b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__22.php @@ -0,0 +1,2 @@ + +'; diff --git a/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__23.php b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__23.php new file mode 100644 index 00000000..9085638f --- /dev/null +++ b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__23.php @@ -0,0 +1,2 @@ + +'; diff --git a/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__24.php b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__24.php new file mode 100644 index 00000000..dfb792e8 --- /dev/null +++ b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__24.php @@ -0,0 +1,2 @@ + +'; diff --git a/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__25.php b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__25.php new file mode 100644 index 00000000..982bef2e --- /dev/null +++ b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__25.php @@ -0,0 +1,2 @@ + +'; diff --git a/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__3.php b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__3.php new file mode 100644 index 00000000..a3597a93 --- /dev/null +++ b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__3.php @@ -0,0 +1,2 @@ + +'; diff --git a/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__4.php b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__4.php new file mode 100644 index 00000000..3dcdd0be --- /dev/null +++ b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__4.php @@ -0,0 +1,2 @@ + +'; diff --git a/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__5.php b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__5.php new file mode 100644 index 00000000..cd149af8 --- /dev/null +++ b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__5.php @@ -0,0 +1,2 @@ + +'; diff --git a/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__6.php b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__6.php new file mode 100644 index 00000000..294d675b --- /dev/null +++ b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__6.php @@ -0,0 +1,2 @@ + +'; diff --git a/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__7.php b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__7.php new file mode 100644 index 00000000..c8650aa1 --- /dev/null +++ b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__7.php @@ -0,0 +1,2 @@ + +'; diff --git a/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__8.php b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__8.php new file mode 100644 index 00000000..05321fb5 --- /dev/null +++ b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__8.php @@ -0,0 +1,2 @@ + +'; diff --git a/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__9.php b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__9.php new file mode 100644 index 00000000..ee7f474c --- /dev/null +++ b/tests/AnimeClient/__snapshots__/FormGeneratorTest__testGeneration__9.php @@ -0,0 +1,7 @@ + + + + + + +';