updated tests
This commit is contained in:
		
							parent
							
								
									08f2190ad1
								
							
						
					
					
						commit
						d0795bd849
					
				|  | @ -427,12 +427,12 @@ func TestRealtimeAuthRecordDeleteEvent(t *testing.T) { | |||
| 	// init realtime handlers
 | ||||
| 	apis.NewRouter(testApp) | ||||
| 
 | ||||
| 	authRecord1, err := testApp.FindFirstRecordByData("users", "email", "test@example.com") | ||||
| 	authRecord1, err := testApp.FindAuthRecordByEmail("users", "test@example.com") | ||||
| 	if err != nil { | ||||
| 		t.Fatal(err) | ||||
| 	} | ||||
| 
 | ||||
| 	authRecord2, err := testApp.FindFirstRecordByData("users", "email", "test2@example.com") | ||||
| 	authRecord2, err := testApp.FindAuthRecordByEmail("users", "test2@example.com") | ||||
| 	if err != nil { | ||||
| 		t.Fatal(err) | ||||
| 	} | ||||
|  | @ -549,12 +549,12 @@ func TestRealtimeCustomAuthModelDeleteEvent(t *testing.T) { | |||
| 	// init realtime handlers
 | ||||
| 	apis.NewRouter(testApp) | ||||
| 
 | ||||
| 	authRecord1, err := testApp.FindFirstRecordByData("users", "email", "test@example.com") | ||||
| 	authRecord1, err := testApp.FindAuthRecordByEmail("users", "test@example.com") | ||||
| 	if err != nil { | ||||
| 		t.Fatal(err) | ||||
| 	} | ||||
| 
 | ||||
| 	authRecord2, err := testApp.FindFirstRecordByData("users", "email", "test2@example.com") | ||||
| 	authRecord2, err := testApp.FindAuthRecordByEmail("users", "test2@example.com") | ||||
| 	if err != nil { | ||||
| 		t.Fatal(err) | ||||
| 	} | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue