PHP Class RedUNIT\Base\Chill

Tests 'chill' mode. In this mode some bean types are frozen, their schemas cannot be modified while others are fluid and can still be adjusted.
Author: Gabor de Mooij and the RedBeanPHP Community
Inheritance: extends RedUNIT\Base
Show file Open project: gabordemooij/redbean

Public Methods

Method Description
testChill ( ) : void Test Chill mode.
testChillTest ( ) : void Test whether we can set and reset the chill list and check the contents of the chill list.
testDontAddUniqueConstraintForChilledBeanTypes ( ) : void Test whether we cannot add unique constraints on chilled tables, otherwise you cannot avoid this from happening when adding beans to the shared list :) -- this is almost a theoretical issue however we want it to work according to specifications!

Method Details

testChill() public method

Test Chill mode.
public testChill ( ) : void
return void

testChillTest() public method

Test whether we can set and reset the chill list and check the contents of the chill list.
public testChillTest ( ) : void
return void

testDontAddUniqueConstraintForChilledBeanTypes() public method

Test whether we cannot add unique constraints on chilled tables, otherwise you cannot avoid this from happening when adding beans to the shared list :) -- this is almost a theoretical issue however we want it to work according to specifications!