fix: problee m met mergen en zorgen student Gerald in db komt bij npm run dev runnen
This commit is contained in:
		
							parent
							
								
									1ffd77cce7
								
							
						
					
					
						commit
						8218aae6ec
					
				
					 10 changed files with 372 additions and 62 deletions
				
			
		|  | @ -1,5 +1,6 @@ | |||
| import { EntityManager } from '@mikro-orm/core'; | ||||
| import { Student } from '../../../src/entities/users/student.entity'; | ||||
| import { fixupRule } from '@eslint/compat'; | ||||
| 
 | ||||
| // 🔓 Ruwe testdata array — herbruikbaar in assertions
 | ||||
| export const TEST_STUDENTS = [ | ||||
|  | @ -11,6 +12,8 @@ export const TEST_STUDENTS = [ | |||
|     { username: 'TheDoors', firstName: 'Jim', lastName: 'Morisson' }, | ||||
|     // ⚠️ Deze mag niet gebruikt worden in elke test!
 | ||||
|     { username: 'Nirvana', firstName: 'Kurt', lastName: 'Cobain' }, | ||||
|     // makes sure when logged in as leerling1, there exists a corresponding user
 | ||||
|     { username: 'testleerling1', firstName: 'Gerald', lastName: 'Schmittinger'}, | ||||
| ]; | ||||
| 
 | ||||
| // 🏗️ Functie die ORM entities maakt uit de data array
 | ||||
|  |  | |||
		Reference in a new issue
	
	 laurejablonski
						laurejablonski