diff --git a/web/modules/custom/example/example.info.yml b/web/modules/custom/atdc/atdc.info.yml similarity index 100% rename from web/modules/custom/example/example.info.yml rename to web/modules/custom/atdc/atdc.info.yml diff --git a/web/modules/custom/example/example.routing.yml b/web/modules/custom/atdc/atdc.routing.yml similarity index 54% rename from web/modules/custom/example/example.routing.yml rename to web/modules/custom/atdc/atdc.routing.yml index 0077a11..6d3a67b 100644 --- a/web/modules/custom/example/example.routing.yml +++ b/web/modules/custom/atdc/atdc.routing.yml @@ -1,7 +1,7 @@ -example.blog: +atdc.blog: path: /blog defaults: - _controller: Drupal\example\Controller\BlogPageController + _controller: Drupal\atdc\Controller\BlogPageController _title: Blog requirements: _permission: access content diff --git a/web/modules/custom/example/example.services.yml b/web/modules/custom/atdc/atdc.services.yml similarity index 53% rename from web/modules/custom/example/example.services.yml rename to web/modules/custom/atdc/atdc.services.yml index e5c0402..ab3d25e 100644 --- a/web/modules/custom/example/example.services.yml +++ b/web/modules/custom/atdc/atdc.services.yml @@ -1,4 +1,4 @@ services: - Drupal\example\Repository\PostNodeRepository: + Drupal\atdc\Repository\PostNodeRepository: arguments: - '@entity_type.manager' diff --git a/web/modules/custom/example/modules/example_test/example_test.info.yml b/web/modules/custom/atdc/modules/atdc_test/atdc_test.info.yml similarity index 100% rename from web/modules/custom/example/modules/example_test/example_test.info.yml rename to web/modules/custom/atdc/modules/atdc_test/atdc_test.info.yml diff --git a/web/modules/custom/example/modules/example_test/config/install/field.field.node.post.field_tags.yml b/web/modules/custom/atdc/modules/atdc_test/config/install/field.field.node.post.field_tags.yml similarity index 100% rename from web/modules/custom/example/modules/example_test/config/install/field.field.node.post.field_tags.yml rename to web/modules/custom/atdc/modules/atdc_test/config/install/field.field.node.post.field_tags.yml diff --git a/web/modules/custom/example/modules/example_test/config/install/field.storage.node.field_tags.yml b/web/modules/custom/atdc/modules/atdc_test/config/install/field.storage.node.field_tags.yml similarity index 100% rename from web/modules/custom/example/modules/example_test/config/install/field.storage.node.field_tags.yml rename to web/modules/custom/atdc/modules/atdc_test/config/install/field.storage.node.field_tags.yml diff --git a/web/modules/custom/example/modules/example_test/config/install/node.type.post.yml b/web/modules/custom/atdc/modules/atdc_test/config/install/node.type.post.yml similarity index 100% rename from web/modules/custom/example/modules/example_test/config/install/node.type.post.yml rename to web/modules/custom/atdc/modules/atdc_test/config/install/node.type.post.yml diff --git a/web/modules/custom/example/src/Builder/PostBuilder.php b/web/modules/custom/atdc/src/Builder/PostBuilder.php similarity index 97% rename from web/modules/custom/example/src/Builder/PostBuilder.php rename to web/modules/custom/atdc/src/Builder/PostBuilder.php index 4eaea29..9f93e4c 100644 --- a/web/modules/custom/example/src/Builder/PostBuilder.php +++ b/web/modules/custom/atdc/src/Builder/PostBuilder.php @@ -1,6 +1,6 @@ drupalGet('/blog'); diff --git a/web/modules/custom/example/tests/src/Functional/ExampleTest.php b/web/modules/custom/atdc/tests/src/Functional/ExampleTest.php similarity index 96% rename from web/modules/custom/example/tests/src/Functional/ExampleTest.php rename to web/modules/custom/atdc/tests/src/Functional/ExampleTest.php index 259fdc8..54fa876 100644 --- a/web/modules/custom/example/tests/src/Functional/ExampleTest.php +++ b/web/modules/custom/atdc/tests/src/Functional/ExampleTest.php @@ -1,6 +1,6 @@ installEntitySchema(entity_type_id: 'taxonomy_term'); $this->installConfig(modules: [ - 'example_test', + 'atdc_test', ]); $node = PostBuilder::create() diff --git a/web/modules/custom/example/tests/src/Kernel/PostNodeRepositoryTest.php b/web/modules/custom/atdc/tests/src/Kernel/PostNodeRepositoryTest.php similarity index 87% rename from web/modules/custom/example/tests/src/Kernel/PostNodeRepositoryTest.php rename to web/modules/custom/atdc/tests/src/Kernel/PostNodeRepositoryTest.php index 8e3349d..cabece9 100644 --- a/web/modules/custom/example/tests/src/Kernel/PostNodeRepositoryTest.php +++ b/web/modules/custom/atdc/tests/src/Kernel/PostNodeRepositoryTest.php @@ -1,9 +1,9 @@ 'post']); + $node = $this->createMock(NodeInterface::class); $node->method('bundle')->willReturn('post'); $wrapper = new PostWrapper($node);