Marco Pivetta
34d2af8a77
#1196 DDC-3418 DDC-3419 - assertArrayHasKey()
instead of assertTrue(isset(...))
2014-11-27 19:06:42 +01:00
Marco Pivetta
084ce7ecc0
#1196 DDC-3418 DDC-3419 - reducing test assets annotations spacing for readability
2014-11-27 18:57:49 +01:00
Dustin Thomson
17ec1aab77
Modified class metadata factory to have entity tables inherit indexes from mapped superclasses
2014-11-27 18:41:33 +01:00
Marco Pivetta
64752532dd
#1188 - assertCount
instead of assertEquals
2014-11-27 17:57:42 +01:00
Marco Pivetta
42547234d2
#1188 - minor CS fixes (avoiding DQL one-liner)
2014-11-27 17:54:02 +01:00
Marco Pivetta
ecb09b5627
#1188 - accessing Doctrine\ORM\Tools\Pagination\Paginator#getCountQuery()
via reflection for test purposes
2014-11-27 17:50:27 +01:00
Merixstudio
18244161f7
Filtering by auto-increnement field causes test error.
...
Executing the same test many times causes error because AI fields.
2014-11-27 17:27:22 +01:00
Merixstudio
de1843ad30
Testing SQLs in functional test is not necessary
2014-11-27 17:27:22 +01:00
Merixstudio
fa014ee55d
Test parameter removing parameters passed to select part of query.
2014-11-27 17:27:22 +01:00
Christian Schmidt
89684b4ce9
Document that AUTOGENERATE_ constants are allowed
2014-11-21 21:11:32 +01:00
Marco Pivetta
ab62914f87
Merge pull request #1089 from encoder32/EntityRepositoryGeneratorDefaultRepository
...
EntityRepositoryGenerator default repository
2014-11-11 16:22:51 +01:00
Marco Pivetta
2888791e5c
#1173 - test CS fixes, reduced clutter code, made method names more explicit
2014-11-11 12:37:16 +01:00
Mathieu De Zutter
9caef62489
Test case for merging entities with associations to identical entities.
2014-11-11 12:12:25 +01:00
Christian Schmidt
c973d8df1a
Code style fixes.
2014-11-11 07:35:52 +01:00
Christian Schmidt
0990d64756
Ensure metadata cache is not ArrayCache in production
2014-11-08 15:05:56 +01:00
Marco Pivetta
76e1a469ef
Merge pull request #1027 from PowerKiKi/feature-partial-indexes
...
Support for Partial Indexes for PostgreSql and Sqlite
2014-11-05 13:19:29 +01:00
Marco Pivetta
20c6bfd360
Aligning expected exception test to typo fix in doctrine/doctrine2@b7d104d2a2 , which was breaking the build
2014-10-23 07:01:59 +02:00
Guilherme Blanco
3a0d7d1d6b
Merge pull request #1146 from c960657/order-by-assoc
...
Allow orderBy to reference associations
2014-10-21 21:40:04 -04:00
Marco Pivetta
9ccb56a7ab
#1120 - applying CS fixes as per @dantleech's review
2014-10-19 19:56:21 +02:00
Marco Pivetta
db74efbe34
#1120 - test coverage annotations
2014-10-19 18:22:28 +02:00
dantleech
37de75b2ae
Split new functionality into new command
2014-10-19 17:40:50 +02:00
dantleech
b5552a82e3
Code review fixes
2014-10-19 17:40:50 +02:00
dantleech
51cd8f7ce8
Added test
2014-10-19 17:40:50 +02:00
Marco Pivetta
264cd8ee11
#615 - Refactoring test case to remove duplication
2014-10-19 17:21:13 +02:00
Marco Pivetta
69494dc624
#615 - sql table aliases should stay constant over time
2014-10-19 17:18:30 +02:00
Marco Pivetta
10da2eb85b
#615 - Using a data provider to build aliases for the SqlWalkerTest
2014-10-19 17:16:07 +02:00
Marco Pivetta
17c9388473
#615 - Test coverage annotations
2014-10-19 17:10:39 +02:00
Marco Pivetta
435befd25c
#615 - EOF EOL fixes
2014-10-19 17:09:41 +02:00
Marco Pivetta
d557a0e01b
#615 - assignment alignment
2014-10-19 17:09:27 +02:00
Mike Meier
109b0444f5
add SqlWalkerTest for getSQLTableAlias method
2014-10-19 17:05:34 +02:00
Steve Müller
06b5c84728
Merge pull request #1160 from Ocramius/hotfix/#1159-multiple-entity-managers-per-repository-factory
...
#1159 - multiple entity managers per repository factory should be supported
2014-10-19 14:58:04 +02:00
Marco Pivetta
0f26c62e73
Merge pull request #1143 from MajorCaiger/master
...
Fixed a bug so that a versioned entity with a oneToOne id can be created
2014-10-19 11:52:37 +02:00
Marco Pivetta
697640f561
Setting default timezone, as HHVM is misconfigured on travis-ci
2014-10-19 10:54:35 +02:00
Marco Pivetta
f28fa2d3a1
#1159 - EOF EOL CS fixes for Doctrine\ORM\Repository\DefaultRepositoryFactory
tests
2014-10-14 01:49:57 +02:00
Marco Pivetta
56378b9bf0
#1159 - optimized imports
2014-10-14 01:40:38 +02:00
Marco Pivetta
7142c9029c
#1159 - Doctrine\ORM\Repository\DefaultRepositoryFactory
should create different repositories for different entity managers
2014-10-14 01:40:19 +02:00
Marco Pivetta
9ef3285ebb
#1159 - verifying that Doctrine\ORM\Repository\DefaultRepositoryFactory
considers custom repository class from metadata when instantiating repositories
2014-10-14 01:35:51 +02:00
Marco Pivetta
1e467fd23c
#1159 - verifying that Doctrine\ORM\Repository\DefaultRepositoryFactory
caches instantiated repositories locally
2014-10-14 01:32:04 +02:00
Marco Pivetta
5adce9a1e3
#1159 - base coverage for the Doctrine\ORM\Repository\DefaultRepositoryFactory
implementation
2014-10-14 01:29:45 +02:00
Christian Schmidt
94f5f53d2a
Allow orderBy to reference associations
2014-10-05 10:16:58 +02:00
Rob Caiger
dd398ce577
- Fixed the basic entity persister so that versioned OneToOne entities can be created
...
- Created an IdentifierFlattener utility class
- Moved the logic for the flatten identifier method into the new utility class
- Replaced calls for private flattenIdentifier to use new utility
- Added appropriate unit tests
2014-10-01 14:01:44 +01:00
Marco Pivetta
3f8865c6fb
Merge pull request #1092 from birko/pagination-count-walker
...
[DDC-2794] Arbitrary Join count walkers solution
2014-09-23 00:30:30 +02:00
Steve Müller
b291d8d589
add support for embeddables in entity generator
2014-09-12 20:29:37 +02:00
Marco Pivetta
dd9a6bea0a
DDC-3272 - minor cleanups - inspecting a test failure related with @Doctrine\ORM\Mapping\Table
autoloading
2014-09-10 16:57:35 +02:00
Marco Pivetta
ffe38e5088
DDC-3272 - cleanups, importing classes, optimized imports
2014-09-10 16:41:49 +02:00
Marco Pivetta
b9090ef73e
DDC-3272 - failing test (to be run in insulation because of autoloading) that verifies that a wrong annotation is generated for @MappedSuperclass
2014-09-10 16:40:17 +02:00
encoder64
6bc003e47d
simple fixes
2014-09-10 01:07:22 +03:00
encoder64
e295a6d05e
visibility changed && few simple fixes
2014-09-09 22:17:10 +03:00
encoder64
409f6b4bc1
Unit Tests && simple fixes
2014-09-07 18:26:09 +03:00
encoder64
cd547fecea
Corrected names to DDC3231
2014-09-06 18:29:14 +03:00