Reduce surface for test to break
This commit is contained in:
		
							parent
							
								
									235aee3fef
								
							
						
					
					
						commit
						aa9c2cc0c7
					
				
					 2 changed files with 3 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -543,10 +543,6 @@ test("event2message: lists have appropriate line breaks", async t => {
 | 
			
		|||
			room_id: '!cBxtVRxDlZvSVhJXVK:cadence.moe',
 | 
			
		||||
			sender: '@Milan:tchncs.de',
 | 
			
		||||
			type: 'm.room.message',
 | 
			
		||||
		}, {}, {
 | 
			
		||||
			api: {
 | 
			
		||||
				getStateEvent: async () => ({displayname: "Milan"})
 | 
			
		||||
			}
 | 
			
		||||
		}),
 | 
			
		||||
		{
 | 
			
		||||
			ensureJoined: [],
 | 
			
		||||
| 
						 | 
				
			
			@ -759,6 +755,7 @@ test("event2message: rich reply to a rich reply to a multi-line message should c
 | 
			
		|||
			},
 | 
			
		||||
			snow: {
 | 
			
		||||
				guild: {
 | 
			
		||||
					/* c8 ignore next 4 */
 | 
			
		||||
					searchGuildMembers: (_, options) => {
 | 
			
		||||
						t.fail(`should not search guild members, but actually searched for: ${options.query}`)
 | 
			
		||||
						return []
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -104,7 +104,8 @@ INSERT INTO member_cache (room_id, mxid, displayname, avatar_url) VALUES
 | 
			
		|||
('!fGgIymcYWOqjbSRUdV:cadence.moe', '@cadence:cadence.moe', 'cadence [they]', 'mxc://cadence.moe/azCAhThKTojXSZJRoWwZmhvU'),
 | 
			
		||||
('!BnKuBPCvyfOkhcUjEu:cadence.moe', '@cadence:cadence.moe', 'cadence [they]', 'mxc://cadence.moe/azCAhThKTojXSZJRoWwZmhvU'),
 | 
			
		||||
('!maggESguZBqGBZtSnr:cadence.moe', '@cadence:cadence.moe', 'cadence [they]', 'mxc://cadence.moe/azCAhThKTojXSZJRoWwZmhvU'),
 | 
			
		||||
('!CzvdIdUQXgUjDVKxeU:cadence.moe', '@cadence:cadence.moe', 'cadence [they]', 'mxc://cadence.moe/azCAhThKTojXSZJRoWwZmhvU');
 | 
			
		||||
('!CzvdIdUQXgUjDVKxeU:cadence.moe', '@cadence:cadence.moe', 'cadence [they]', 'mxc://cadence.moe/azCAhThKTojXSZJRoWwZmhvU'),
 | 
			
		||||
('!cBxtVRxDlZvSVhJXVK:cadence.moe', '@Milan:tchncs.de', 'Milan', NULL);
 | 
			
		||||
 | 
			
		||||
INSERT INTO lottie (sticker_id, mxc_url) VALUES
 | 
			
		||||
('860171525772279849', 'mxc://cadence.moe/ZtvvVbwMIdUZeovWVyGVFCeR');
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue