PHP Class RedUNIT\Base\Update

Author: Gabor de Mooij and the RedBeanPHP Community
Inheritance: extends RedUNIT\Base
Show file Open project: gabordemooij/redbean

Public Methods

Method Description
testEmptyStringShouldNotBeStoredAsInteger ( ) : void Tests whether empty strings are preserved as such.
testSQLFilters ( ) Test whether we can use SQL filters and whether they are being applied properly for different types of SELECT queries in the QueryWriter.
testStoringInf ( ) : void Test handling of infinity values.
testUnsetUpdate ( ) : void Test unsetting properties.
testUpdatingBeans ( ) : void All kinds of tests for basic CRUD.
testUpdatingParentBeansWithAliases ( ) Tests whether we can update or unset a parent bean with an alias without having to use fetchAs and without loading the aliased bean causing table-not-found errors.

Method Details

testEmptyStringShouldNotBeStoredAsInteger() public method

Tests whether empty strings are preserved as such.

testSQLFilters() public method

Test whether we can use SQL filters and whether they are being applied properly for different types of SELECT queries in the QueryWriter.
public testSQLFilters ( )

testStoringInf() public method

Test handling of infinity values.
public testStoringInf ( ) : void
return void

testUnsetUpdate() public method

Test unsetting properties.
public testUnsetUpdate ( ) : void
return void

testUpdatingBeans() public method

Does the data survive?
public testUpdatingBeans ( ) : void
return void

testUpdatingParentBeansWithAliases() public method

Tests whether we can update or unset a parent bean with an alias without having to use fetchAs and without loading the aliased bean causing table-not-found errors.