Fixes the test case related to UserProfileTest.
This commit is contained in:
		
							parent
							
								
									3435dcc91e
								
							
						
					
					
						commit
						832f8eaa94
					
				| 
						 | 
					@ -99,7 +99,7 @@ class UserProfileTest extends BrowserKitTest
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        $this->asAdmin()
 | 
					        $this->asAdmin()
 | 
				
			||||||
            ->visit('/settings/users/' . $this->user->id)
 | 
					            ->visit('/settings/users/' . $this->user->id)
 | 
				
			||||||
            ->select('#books_display', 'List')
 | 
					            ->select('grid', '#books_display')
 | 
				
			||||||
            ->press('Save')
 | 
					            ->press('Save')
 | 
				
			||||||
            ->visit('/books')
 | 
					            ->visit('/books')
 | 
				
			||||||
            ->pageHasElement('.entity-list-item');
 | 
					            ->pageHasElement('.entity-list-item');
 | 
				
			||||||
| 
						 | 
					@ -109,7 +109,7 @@ class UserProfileTest extends BrowserKitTest
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        $this->asAdmin()
 | 
					        $this->asAdmin()
 | 
				
			||||||
            ->visit('/settings/users/' . $this->user->id)
 | 
					            ->visit('/settings/users/' . $this->user->id)
 | 
				
			||||||
            ->select('#books_display', 'Grid')
 | 
					            ->select('list', '#books_display')
 | 
				
			||||||
            ->press('Save')
 | 
					            ->press('Save')
 | 
				
			||||||
            ->visit('/books')
 | 
					            ->visit('/books')
 | 
				
			||||||
            ->pageHasElement('.gallery-item');
 | 
					            ->pageHasElement('.gallery-item');
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue