Issue #2534532 by michaellander, longwave: Cannot reinstall Forum after it was previously installed
							parent
							
								
									9a47d81c72
								
							
						
					
					
						commit
						2bfd810d71
					
				| 
						 | 
				
			
			@ -1,6 +1,9 @@
 | 
			
		|||
langcode: en
 | 
			
		||||
status: true
 | 
			
		||||
dependencies: {  }
 | 
			
		||||
dependencies:
 | 
			
		||||
  enforced:
 | 
			
		||||
    module:
 | 
			
		||||
      - forum
 | 
			
		||||
id: comment_forum
 | 
			
		||||
label: Comment_forum
 | 
			
		||||
target_entity_type_id: node
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -121,6 +121,10 @@ class ForumUninstallTest extends WebTestBase {
 | 
			
		|||
    $this->drupalPostForm(NULL, array(), t('Delete'));
 | 
			
		||||
    $this->assertResponse(200);
 | 
			
		||||
    $this->assertFalse((bool) NodeType::load('forum'), 'Node type with machine forum deleted.');
 | 
			
		||||
 | 
			
		||||
    // Double check everything by reinstalling the forum module again.
 | 
			
		||||
    $this->drupalPostForm('admin/modules', ['modules[Core][forum][enable]' => 1], 'Install');
 | 
			
		||||
    $this->assertText('Module Forum has been enabled.');
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue