Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
lithium
tests
integration
data
DatabaseTest
tearDown
lithium\tests\integration\data\DatabaseTest::tearDown PHP Method
DatabaseTest Class Documentation
Show file
Open project: unionofrad/lithium
tearDown()
public
method
Dropping the test database
public
tearDown
( )
public function tearDown() { Fixtures::clear('db'); Galleries::reset(); Images::reset(); }
DatabaseTest
setUp
skip
tearDown
testConnectWithNoDatabase
testConnectWithWrongHost
testConnectWithWrongPassword
testCreateData
testDistinctResultsInNoDuplicates
testExecuteException
testFields
testGroup
testManyToOne
testOneToMany
testOneToManyUsingSameKeyName
testOrder
testOrderWithHasManyThrowsExceptionIfNonSequential
testOrderWithHasManyWorksIfOrderByMainIdFirst
testOrderWithRelationAndLimit
testRemove
testSubqueryWithMultipleRecords
testSwitchingDatabaseDistinctModels
testSwitchingDatabaseOnModel
testUpdate
testValueWithHardcodedSchema