mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Make log mailer for testing (#5893)
* Create log mailer for testing email settings Signed-off-by: Andrew Thornton <art27@cantab.net> * Switch on the log mailer for the integration tests This ensures that the sending mail process works Signed-off-by: Andrew Thornton <art27@cantab.net> * rename the from user for mysql/mssql * rename log sender to dummy sender * update the integration tests
This commit is contained in:
		@@ -44,6 +44,7 @@ REQUIRE_SIGNIN_VIEW               = false
 | 
			
		||||
DEFAULT_KEEP_EMAIL_PRIVATE        = false
 | 
			
		||||
DEFAULT_ALLOW_CREATE_ORGANIZATION = true
 | 
			
		||||
NO_REPLY_ADDRESS                  = noreply.example.org
 | 
			
		||||
ENABLE_NOTIFY_MAIL                = true
 | 
			
		||||
 | 
			
		||||
[picture]
 | 
			
		||||
DISABLE_GRAVATAR        = false
 | 
			
		||||
@@ -66,3 +67,8 @@ LEVEL = Debug
 | 
			
		||||
INSTALL_LOCK   = true
 | 
			
		||||
SECRET_KEY     = 9pCviYTWSb
 | 
			
		||||
INTERNAL_TOKEN = eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJuYmYiOjE0OTI3OTU5ODN9.OQkH5UmzID2XBdwQ9TAI6Jj2t1X-wElVTjbE7aoN4I8
 | 
			
		||||
 | 
			
		||||
[mailer]
 | 
			
		||||
ENABLED = true
 | 
			
		||||
MAILER_TYPE = dummy
 | 
			
		||||
FROM = sqlite-integration-test@gitea.io
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user