From 0dcf440875527a1a0590102b1b976cbac1a15ecd Mon Sep 17 00:00:00 2001 From: tischsoic Date: Wed, 21 Feb 2024 14:45:50 +0100 Subject: [PATCH] IsContainerTest --- .../SearchView/Criterion/IsContainerTest.php | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 tests/bundle/Functional/SearchView/Criterion/IsContainerTest.php diff --git a/tests/bundle/Functional/SearchView/Criterion/IsContainerTest.php b/tests/bundle/Functional/SearchView/Criterion/IsContainerTest.php new file mode 100644 index 00000000..e25376e1 --- /dev/null +++ b/tests/bundle/Functional/SearchView/Criterion/IsContainerTest.php @@ -0,0 +1,30 @@ + [ + 'json', + $this->buildJsonCriterionQuery('"IsContainer": true'), + 11, + ], + 'is not container' => [ + 'json', + $this->buildJsonCriterionQuery('"IsContainer": false'), + 2, + ], + ]; + } +}