Nicolas Lœuillet
bbd89215d8
[fix] getEntryById now returns an array with one element
2014-01-09 09:56:46 +01:00
Nicolas Lœuillet
d85620383d
[add] model method to fetch one entry by id
2014-01-08 10:56:54 +01:00
Vincent Jousse
14330bfa68
Formatting
2013-12-13 22:42:13 +01:00
Vincent Jousse
bc8c4f7434
Remove useless line
2013-12-13 22:36:55 +01:00
Vincent Jousse
8c2d368cbf
Use fetchAll directly on the connection and bind parameters using ?
2013-12-13 18:44:43 +01:00
Vincent Jousse
56071a0c81
WIP: Display and save entries
2013-12-13 17:21:50 +01:00
Vincent Jousse
6fe342d0e9
Fetch content using full-text-rss
2013-12-10 16:54:05 +01:00
Vincent Jousse
fffaf558fc
Add full-text-rss lib
2013-12-10 16:19:15 +01:00
Vincent Jousse
674cf03409
Move DB queries into a Repository class
2013-12-01 21:43:43 +01:00
Vincent Jousse
bc1a3342c3
Use sqlite test db
2013-11-23 10:44:05 +01:00
Vincent Jousse
eded146c74
Fix unit test directory
2013-11-23 00:15:55 +01:00
Vincent Jousse
65dd276fbf
Move bootstrap for atoum into units dir
2013-11-22 22:45:40 +01:00
Vincent Jousse
d4ed21081c
Get all entries
2013-11-22 16:38:49 +01:00
Vincent Jousse
6dc90c704c
Add EntryApi as a Service
2013-11-22 16:25:37 +01:00
Vincent Jousse
ef65cf46f5
Add an option to run tests in an infinite loop
2013-11-21 23:08:35 +01:00
Vincent Jousse
2e4d38cbf4
Test to check that the token is properly generated
2013-11-21 23:02:33 +01:00
Vincent Jousse
6f5d4b334c
Import poche v2 schema
2013-11-21 22:44:41 +01:00
Vincent Jousse
95a3b293ae
Add missing getter
2013-11-21 20:27:42 +01:00
Vincent Jousse
75fbd3420a
Fix dummy entry test
2013-11-21 20:25:05 +01:00
Vincent Jousse
f502810f43
Trying to test a dummy Entry class
...
It seems that Atoum doesn't find the class to be tested
when running `./console tests:unit`
==> Error E_USER_ERROR in /home/vjousse/usr/src/php/poche/tests/unit/Entry.php on unknown line, generated by unknown file:
Tested class 'Entry' does not exist for test class 'tests\unit\Entry'
2013-11-21 20:15:42 +01:00
Vincent Jousse
9bfeaf9cc0
Add Atoum console command
2013-11-21 18:49:06 +01:00
Vincent Jousse
4ec3930bcc
Add UnitTestsCommand skeleton
2013-11-21 14:51:07 +01:00