package GlotPress
inherited_from \GP_UnitTestCase

 Methods

assertEqualPermissions()

assertEqualPermissions($expected, $actual) 

Parameters

$expected

$actual

clean_up_global_scope()

clean_up_global_scope() 
Inherited

setUp()

setUp() 
Inherited

set_admin_user_as_current()

set_admin_user_as_current() 
Inherited

set_normal_user_as_current()

set_normal_user_as_current() 
Inherited

test_admin_should_be_able_to_do_random_actions()

test_admin_should_be_able_to_do_random_actions() 

test_administrator_permissions_create()

test_administrator_permissions_create() 
ticket gh-233

test_approve_translation_set_permissions()

test_approve_translation_set_permissions() 

test_create_find()

test_create_find() 

test_create_find_with_nulls()

test_create_find_with_nulls() 

test_import_permissions()

test_import_permissions() 
ticket gh-377

test_logged_out_permissions()

test_logged_out_permissions() 

test_non_admin_should_not_be_able_to_do_random_actions()

test_non_admin_should_not_be_able_to_do_random_actions() 

test_permissions_delete_on_user_delete()

test_permissions_delete_on_user_delete() 
ticket gh194

test_recursive_project_permissions()

test_recursive_project_permissions() 

test_recursive_validator_permissions()

test_recursive_validator_permissions() 

test_user_can()

test_user_can() 

 Properties

 

$factory

$factory : \GP_UnitTest_Factory

Default

 

$url

$url : string

Default

'http://example.org/'