| 
					
				 | 
			
			
				@@ -252,3 +252,19 @@ func (t *testSuite) TestGetSubjectForAdd() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+func (t *testSuite) TestSaveStudent() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	student, err := GetStudentAll(map[string]string{"id": "1"}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	t.Nil(err) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	t.Equal(uint(1), student.(*Student).ClassID) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	student.(*Student).ClassID = 2 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	_, err = SaveStudent(student) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	t.Nil(err) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	if !t.Failed() { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		student, _ = GetStudent(map[string]string{"id": "1"}) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+		t.Equal(uint(2), student.(*Student).ClassID) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+	} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+} 
			 |