Resolve #3215110 "Add automated test"
Closes #3215110
Merge request reports
Activity
added 6 commits
-
bd51a278...48e0fcd3 - 2 commits from branch
project:2.0.x
- 4856bd2e - Issue #3215110: Extremely basic "does the module blow up the site" test
- b20754ef - Issue #3215110: Test settings form
- 13eaa91b - Issue #3215110: WIP unit test coverage for MenuBasedBreadcrumbBuilder
- 418bee6c - Issue #3215110: Add project composer.json
Toggle commit list-
bd51a278...48e0fcd3 - 2 commits from branch
- Resolved by Chris Burgess
- Resolved by Chris Burgess
126 $this->titleResolver, 127 $this->requestStack, 128 $this->languageManager, 129 $this->entityTypeManager, 130 $this->cache, 131 $this->lock 132 ); 133 } 134 135 /** 136 * Test that we initialise our builder. 137 * 138 * @covers ::__construct 139 */ 140 public function testInitialise() { 141 $this->assertInstanceOf(MenuBasedBreadcrumbBuilder::class, $this->builder); given the amount of mocking required here, it might be better to test this with a kernel test here's an example that might provide some guidance https://git.drupalcode.org/project/entity_hierarchy/-/blob/8.x-2.x/modules/entity_hierarchy_breadcrumb/tests/src/Kernel/BreadcrumbTest.php#L94
added 5 commits
- 4c25ba84 - Issue #3320308 by Nila Hyalij: Replace README.txt with README.md
- 741e34a3 - Issue #3215110: Extremely basic "does the module blow up the site" test
- 382972e1 - Issue #3215110: Test settings form
- 147a905b - Issue #3215110: WIP unit test coverage for MenuBasedBreadcrumbBuilder
- a2c3e0b7 - Issue #3215110: Add project composer.json
Toggle commit listadded 7 commits
-
e9a7562a...0ede08d7 - 2 commits from branch
project:2.0.x
- 37d72351 - Issue #3215110: Extremely basic "does the module blow up the site" test
- ae6884f1 - Issue #3215110: Test settings form
- b3130d7b - Issue #3215110: WIP unit test coverage for MenuBasedBreadcrumbBuilder
- 38c731af - Issue #3215110: Add project composer.json
- bd41b8d2 - Issue #3215110: Test improvements
Toggle commit list-
e9a7562a...0ede08d7 - 2 commits from branch
added 1 commit
added 1 commit
- f2eb99cf - Fix merge conflict accidentally committed to README
added 1 commit
added 1 commit
added 1 commit
added 1 commit
added 2 commits
Please register or sign in to reply