Fix Object parsing for Logging
This commit is contained in:
		
					parent
					
						
							
								8285a3a280
							
						
					
				
			
			
				commit
				
					
						b983559980
					
				
			
		
					 2 changed files with 12 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -178,4 +178,15 @@ abstract class AbstractLoggerTest extends MockedTest
 | 
			
		|||
 | 
			
		||||
		self::assertContains(@json_encode($assertion), $this->getContent());
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	public function testNoObjectHandling()
 | 
			
		||||
	{
 | 
			
		||||
		$logger = $this->getInstance();
 | 
			
		||||
		$logger->alert('test', ['e' => ['test' => 'test']]);
 | 
			
		||||
		$text = $this->getContent();
 | 
			
		||||
 | 
			
		||||
		self::assertLogline($text);
 | 
			
		||||
 | 
			
		||||
		self::assertContains('test', $this->getContent());
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue