diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-02-24 22:00:24 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-03-06 20:50:31 +0100 |
commit | a36737f4859e3acbddf5cfe90c279ba725a6d88a (patch) | |
tree | b65709740a5e92bc53eeb0e3e050e0df3e78f3bb /src/Wallabag/CoreBundle/Repository | |
parent | 46bbd8d321e6a00131f0e6ed96fa6f3d693b3678 (diff) | |
download | wallabag-a36737f4859e3acbddf5cfe90c279ba725a6d88a.tar.gz wallabag-a36737f4859e3acbddf5cfe90c279ba725a6d88a.tar.zst wallabag-a36737f4859e3acbddf5cfe90c279ba725a6d88a.zip |
POST entries/tags with test
Diffstat (limited to 'src/Wallabag/CoreBundle/Repository')
-rw-r--r-- | src/Wallabag/CoreBundle/Repository/EntryRepository.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Repository/EntryRepository.php b/src/Wallabag/CoreBundle/Repository/EntryRepository.php index f6f60c6f..10fb9bf7 100644 --- a/src/Wallabag/CoreBundle/Repository/EntryRepository.php +++ b/src/Wallabag/CoreBundle/Repository/EntryRepository.php | |||
@@ -119,6 +119,11 @@ class EntryRepository extends EntityRepository | |||
119 | ->getResult(); | 119 | ->getResult(); |
120 | } | 120 | } |
121 | 121 | ||
122 | /** | ||
123 | * Fetch an entry with a tag. Only used for tests. | ||
124 | * | ||
125 | * @return Entry | ||
126 | */ | ||
122 | public function findOneWithTags() | 127 | public function findOneWithTags() |
123 | { | 128 | { |
124 | $qb = $this->createQueryBuilder('e') | 129 | $qb = $this->createQueryBuilder('e') |