1
0
mirror of synced 2024-12-13 22:56:04 +03:00
Commit Graph

2419 Commits

Author SHA1 Message Date
jackbravo
1db6dfa30b Association table tests are pretty messy, still more fixes to go 2007-09-06 16:03:44 +00:00
Jonathan.Wage
6d72afb462 INitial entry. 2007-09-06 15:51:12 +00:00
Jonathan.Wage
f63efd9661 Removed. 2007-09-06 15:46:05 +00:00
Jonathan.Wage
0d056d772f hmm, not sure. 2007-09-06 15:45:41 +00:00
mahono
e20c213ae2 refactored Table->find() 2007-09-06 14:12:40 +00:00
mahono
814223bd39 * unified and simplified Hydrate->fetchOne() as well as Table->find()
* both always return reliable false if result is empty
2007-09-06 13:18:46 +00:00
mahono
744666ab95 fixed issue with fetchOne() - a break was missing 2007-09-06 12:59:45 +00:00
jackbravo
af14c812ce Memory problem solved. Sqlite creating functions repeatedly.
Doctrine_Connection_Sqlite::connect was creating functions every time it was called even if it was allready connected.
2007-09-05 22:03:57 +00:00
Jonathan.Wage
87afb489b4 Redirect changed to correct url. 2007-09-05 20:34:44 +00:00
Jonathan.Wage
d2a28ab973 Ignoring. 2007-09-05 20:33:42 +00:00
Jonathan.Wage
da3481259b Removed. 2007-09-05 20:31:46 +00:00
Jonathan.Wage
5b94c846f9 Removed manual module and redirected to existing manual. 2007-09-05 20:31:24 +00:00
jackbravo
93f452cde1 Separate correctly test messages when running from the browser, and get the variables through _GET 2007-09-05 19:02:41 +00:00
romanb
543cd86f74 Fixed typo in the docs 2007-09-05 16:14:08 +00:00
romanb
a478dfa4fd removed hydration constants from doctrine_hydrate 2007-09-05 16:05:49 +00:00
zYne
d9a5bbd61d 2007-09-05 15:03:00 +00:00
jackbravo
fbb4e3bbe6 More tests for Many to Many relations, bugs detected 2007-09-05 05:39:36 +00:00
jackbravo
d0efd96e8d Update syntax for relationships on models 2007-09-05 04:42:02 +00:00
zYne
cd7f42dec2 2007-09-04 20:56:16 +00:00
zYne
d992deea1d 2007-09-04 20:49:35 +00:00
zYne
ac9c2133d9 2007-09-04 20:41:23 +00:00
zYne
7a7a59d850 2007-09-04 20:40:55 +00:00
jackbravo
831c195b3b Document ATTR_QUERY_LIMIT 2007-09-04 18:22:11 +00:00
jackbravo
1fef41e2c3 ATTR_VLD is deprecated 2007-09-04 18:08:45 +00:00
jackbravo
7e18a0a8e4 On some cases the IDs for the entity table change and this test fails 2007-09-04 17:42:55 +00:00
jackbravo
5ae71f676e Throw exception on deprecated attributes 2007-09-04 16:36:12 +00:00
jackbravo
49053d654f Table name may be different than just tablelize class name
For example, for class User, the table name is entity
2007-09-04 15:11:49 +00:00
meus
0de326b577 fixing run.php in web browser take 2 2007-09-04 13:22:38 +00:00
meus
dfd3f18987 fixing web test runner 2007-09-04 13:19:42 +00:00
romanb
4a2fac7218 Fixed a bug in the nestedset implementation. When using single table inheritance all node instances need to use the same tree object. previously every subclass created it's own tree object which resulted in strange behaviour. 2007-09-04 12:52:23 +00:00
meus
ef9fda8707 coverage report for 2405 2007-09-04 05:11:08 +00:00
jackbravo
a7b48e4269 Use FETCH_ARRAY on Doctrine_Record::refresh() to avoid clearing object relations 2007-09-04 01:23:11 +00:00
jackbravo
c3b9837c12 Fix bug #428, clearing object relations before adding new ones in a query 2007-09-04 01:23:02 +00:00
jackbravo
1c5162eed2 Use array_shift, since the key may not allways be 0 2007-09-03 22:29:30 +00:00
meus
2c9e480037 fixed propper input to test so that it runs successfully 2007-09-03 22:21:39 +00:00
meus
a989abdc22 fixed validator tests that used the old API 2007-09-03 22:09:05 +00:00
jackbravo
8423421973 Added ticket 428 test case using Album model
Not using User model since users gets its table cleared before each
test method call ($this->objTable()->clear()), and that affects the
result
2007-09-03 21:13:31 +00:00
jackbravo
902d609fca Removed one unnecesary class, more to go 2007-09-03 18:54:58 +00:00
jackbravo
94cb373b6d ticket test group renamed to tickets 2007-09-03 18:34:43 +00:00
jackbravo
1a4a66c9d1 Organize and add more groups to the tests 2007-09-03 18:19:37 +00:00
jackbravo
bbf866d9e4 MAP keyword was changed to INDEXBY 2007-09-03 17:15:30 +00:00
jackbravo
b4b07479e3 EXPORT_ALL constant should include bits 1 and 2, so it should be set to 3 2007-09-03 16:54:08 +00:00
jackbravo
a6cc048940 Avoid including temporary files like the ones created by vi or emacs 2007-09-03 16:31:35 +00:00
jackbravo
f97a652485 Added failing tests 2007-09-03 16:13:02 +00:00
jackbravo
5a2de6cc0f Another require_once 2007-09-03 16:09:04 +00:00
meus
c64b774baa change old way of declaring definitions to new one 2007-09-03 16:01:34 +00:00
jackbravo
a975c64de1 Avoid using getMethod on classes that don't have that method 2007-09-03 15:36:56 +00:00
jackbravo
dc17fba20c Error while running tests: Entity class not found 2007-09-03 15:32:30 +00:00
meus
f798820233 removed test that throw notice and fix some more test groups. 2007-09-03 15:18:12 +00:00
meus
f3a377a794 replace tabs with 4 spaces. and fix other coding style related stuff 2007-09-03 14:57:18 +00:00