643593737d 
								
							
								 
							
						 
						
							
							
								
								added test case for  #1310  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								f017ba357f 
								
							
								 
							
						 
						
							
							
								
								refactored unit tests. put common AR tests in trait  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								e9fcde3264 
								
							
								 
							
						 
						
							
							
								
								support for batch insert in sqlite older than 3.7.11  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								c6347d6d01 
								
							
								 
							
						 
						
							
							
								
								polished elasticsearch AR api, added mget and fixed AR::equals()  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								77840adf65 
								
							
								 
							
						 
						
							
							
								
								Made ActiveRecord::isPrimaryKey() public  
							
							... 
							
							
 
							
							+ added tests and fixed behavior 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								9448c3d471 
								
							
								 
							
						 
						
							
							
								
								added unit tests for active dataprovider and fixed query tests  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								b0b1c27c85 
								
							
								 
							
						 
						
							
							
								
								Fix phpDoc var tag format  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								9862ee35b2 
								
							
								 
							
						 
						
							
							
								
								Fixes   #1115 : fixed the issue with PDO boolean value binding with pgsql  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								433958b40c 
								
							
								 
							
						 
						
							
							
								
								removed sqlite specific test as it is the same as base AR test now  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								26c7f6d62f 
								
							
								 
							
						 
						
							
							
								
								Fixed sqlite column type detection bug.  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								c8c377e698 
								
							
								 
							
						 
						
							
							
								
								skip test on postgres  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								ee1689da03 
								
							
								 
							
						 
						
							
							
								
								some more on active record unit tests and sqlite  
							
							... 
							
							
 
							
							sqlite does not seem to allow using boolean values in select query 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								937a55f4fa 
								
							
								 
							
						 
						
							
							
								
								fixed unit test for sqlite  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								f153ce443a 
								
							
								 
							
						 
						
							
							
								
								reverted non working fix for  #1115  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								e5a1244e0f 
								
							
								 
							
						 
						
							
							
								
								moved unit test from cubrid to general  
							
							... 
							
							
 
							
							should be tested for all dbms not only cubrid even if the problem may
not exist in all of them it is good to verify that. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								34945b0b69 
								
							
								 
							
						 
						
							
							
								
								added unit test to verify storing of null values  
							
							... 
							
							
 
							
							http://www.yiiframework.com/forum/index.php/topic/48359-inserting-nulls/page__view__findpost__p__226019  
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								c62e0cbbfb 
								
							
								 
							
						 
						
							
							
								
								added unit test to verify AR afterSave isNewRecord value  
							
							... 
							
							
 
							
							closes  #1084  
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								ee2af2661c 
								
							
								 
							
						 
						
							
							
								
								Removed unneeded use statements  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								1f6a823073 
								
							
								 
							
						 
						
							
							
								
								Short array syntax  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								a1e5fa356e 
								
							
								 
							
						 
						
							
							
								
								fixed cubrid schema test for pdo type  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								598d01287b 
								
							
								 
							
						 
						
							
							
								
								added cubrid specific pdo type casting  
							
							... 
							
							
 
							
							cubrid pdo does not support PARAM_BOOL so we cast the value to integer
and store 0 and 1 instead
fixes  #964  
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								8c1c3c59d9 
								
							
								 
							
						 
						
							
							
								
								Better AR connection init in tests  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								8899aaeb5b 
								
							
								 
							
						 
						
							
							
								
								moved getPdoType() to Schema.  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								b42f4b4ea0 
								
							
								 
							
						 
						
							
							
								
								fixed broken test  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								3623fc19dc 
								
							
								 
							
						 
						
							
							
								
								refactored redis AR pk and findByPk  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								563171eba4 
								
							
								 
							
						 
						
							
							
								
								moved redis out of yii\db namespace  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								ef13a11f66 
								
							
								 
							
						 
						
							
							
								
								moved getPDOType() back to Command to avoid dependency on Schema  
							
							... 
							
							
 
							
							fixes  #854  
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								949dda5fdb 
								
							
								 
							
						 
						
							
							
								
								tagged tests with  @group  tags  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								d3740932a4 
								
							
								 
							
						 
						
							
							
								
								fixed broken cubrid tests  
							
							... 
							
							
 
							
							fixed expected quoting 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								6c6cb3cd90 
								
							
								 
							
						 
						
							
							
								
								Fixes   #853 : Added composite FK support for SQLite.  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								02fd82c42a 
								
							
								 
							
						 
						
							
							
								
								Fixed build break.  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								6fe152da7e 
								
							
								 
							
						 
						
							
							
								
								Reverted 0bf2dad: it's very common to use lower case for column types and upper case for other DB keywords.  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								164c70eebc 
								
							
								 
							
						 
						
							
							
								
								Add support for composite FK to cubrid  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								8abeed03bd 
								
							
								 
							
						 
						
							
							
								
								added SchemaTest  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								544e412af8 
								
							
								 
							
						 
						
							
							
								
								unit test cleanup  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								e996f3dfd5 
								
							
								 
							
						 
						
							
							
								
								Workaround for broken PDO::quote() in CUBRID 9.1.0  
							
							... 
							
							
 
							
							http://jira.cubrid.org/browse/APIS-658  
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								58f8293b84 
								
							
								 
							
						 
						
							
							
								
								custom bindValue test for cubrid  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								791f9d3f4e 
								
							
								 
							
						 
						
							
							
								
								better use int for boolean representation  
							
							... 
							
							
 
							
							bit has special syntax for storing and retreiving so we'd need a
converter for that.
Storing 1 bit will result in one byte left padded on the disc so the
result of a query for boolean 0 will be 0x00 and for boolean 1 will be
0x80. 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								d6ff097cbb 
								
							
								 
							
						 
						
							
							
								
								avoid hanging test on bindValue problems (close db connection in tearDown)  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								825258efb8 
								
							
								 
							
						 
						
							
							
								
								cubrid unit tests WIP  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								30d6229943 
								
							
								 
							
						 
						
							
							
								
								Fixed test break.  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								6dba4da3ed 
								
							
								 
							
						 
						
							
							
								
								Fixes   #828 : refactored QueryBuilder::build()  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								0cd65e7496 
								
							
								 
							
						 
						
							
							
								
								commented failing tests  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								e3df19d984 
								
							
								 
							
						 
						
							
							
								
								Redis AR WIP  
							
							... 
							
							
 
							
							- introduced RecordSchema class for schema definition 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								5c8927af7d 
								
							
								 
							
						 
						
							
							
								
								Added ExistValidatorTest and added new option to DatabaseTestCase  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								0596fa82fd 
								
							
								 
							
						 
						
							
							
								
								code style fixes  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								53a1f9608a 
								
							
								 
							
						 
						
							
							
								
								Added unit test for ActiveDataProvider.  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								f03cdf0a47 
								
							
								 
							
						 
						
							
							
								
								renamed Command::queryRow() to queryOne().  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								aa568aacb5 
								
							
								 
							
						 
						
							
							
								
								Added support for using callables as "ActiveQuery::indexBy".  
							
							
 
							
						 
						
							12 years ago  
				
					
						
							
							
								 
						
							
							
								f2e57b2eec 
								
							
								 
							
						 
						
							
							
								
								Fixed test breaks.  
							
							
 
							
						 
						
							13 years ago