From c54b3efa932e68edd64cddadaecf6f4e9d2e5755 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 22 Jan 2024 16:58:45 +0000 Subject: [PATCH] Add PostNodeRepositoryUnitTest > ArgumentCountError: Too few arguments to function Drupal\example\Repository\PostNodeRepository::__construct(), 0 passed in /home/opdavies/Code/github.com/opdavies/atdc /web/modules/custom/example/tests/src/Unit/PostNodeRepositoryUnitTest.php on line 15 and exactly 1 expected --- .../src/Unit/PostNodeRepositoryUnitTest.php | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 web/modules/custom/example/tests/src/Unit/PostNodeRepositoryUnitTest.php diff --git a/web/modules/custom/example/tests/src/Unit/PostNodeRepositoryUnitTest.php b/web/modules/custom/example/tests/src/Unit/PostNodeRepositoryUnitTest.php new file mode 100644 index 0000000..52ceaa1 --- /dev/null +++ b/web/modules/custom/example/tests/src/Unit/PostNodeRepositoryUnitTest.php @@ -0,0 +1,18 @@ +