Permalink
Browse files

fix tests

  • Loading branch information...
1 parent e9969ac commit e92fc9bdc01a0cc5d6306183b8ecfbef07139f0b @digi604 committed Apr 16, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 cms/tests/toolbar.py
View
@@ -422,7 +422,7 @@ def test_toolbar_logout_redirect(self):
response = self.client.get(page1.get_absolute_url('en') + '?edit')
toolbar = response.context['request'].toolbar
admin_menu = toolbar.get_or_create_menu(ADMIN_MENU_IDENTIFIER)
- self.assertFalse(admin_menu.find_first(AjaxItem, name=menu_name).item.on_success)
+ self.assertTrue(admin_menu.find_first(AjaxItem, name=menu_name).item.on_success)
# Unpublished page, redirect
response = self.client.get(page2.get_absolute_url('en') + '?edit')

0 comments on commit e92fc9b

Please sign in to comment.