test InitExt / DatabaseUpgrade
This commit is contained in:
		
							parent
							
								
									861ee946a9
								
							
						
					
					
						commit
						b0c5043892
					
				
							
								
								
									
										17
									
								
								core/tests/init.test.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								core/tests/init.test.php
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,17 @@
 | 
				
			|||||||
 | 
					<?php declare(strict_types=1);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					use PHPUnit\Framework\TestCase;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					class TestInit extends TestCase {
 | 
				
			||||||
 | 
					    public function testInitExt()
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        send_event(new InitExtEvent());
 | 
				
			||||||
 | 
					        $this->assertTrue(true);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    public function testDatabaseUpgrade()
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					        send_event(new DatabaseUpgradeEvent());
 | 
				
			||||||
 | 
					        $this->assertTrue(true);
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					}
 | 
				
			||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user