Commit Graph

18 Commits

Author SHA1 Message Date
Robbie Averill
108ac1388b Switch assertions to test the end of the strings 2019-02-13 09:13:10 +07:00
Robbie Averill
967a2be14e NEW Add tests for blog archive links and tidy up code re-use a little 2019-02-12 19:03:20 +07:00
Robbie Averill
86c0f56620 Use ::class for class_exists checks on Widget, fix setUp/tearDown method visibility 2018-04-06 10:22:58 +12:00
zanderwar
3f24858b73 ENHANCEMENT added MinutesToRead() 2018-03-14 18:01:09 +10:00
Robbie Averill
271fbfeae7 Merge branch '2' 2017-11-03 15:39:57 +13:00
Robbie Averill
c2f58507a0 FIX Ensure that draft blog posts are always viewable to users with view draft permission 2017-11-03 14:00:14 +13:00
Franco Springveldt
e70e051380 FIX updated traditional array syntax 2017-09-14 10:59:01 +12:00
Andrew Aitken-Fincham
ffc12f53bc total refactor of blog.yml for tests, use classes properly 2017-07-04 18:01:39 +01:00
Sam Minnee
50d928101c FIX: Speed up tests by simplifying fixture
Requires https://github.com/silverstripe/silverstripe-framework/pull/6872
2017-05-11 12:29:41 +12:00
Robbie Averill
c004bad7b8 FIX Update class imports, fix broken test, add missing multibyte logic back, fix condition for generating URLSegment (also missing) 2017-01-26 21:41:28 +13:00
Robbie Averill
13a5badff5 Move "code" to PSR-4 friendly "src" folders. Add namespacing. 2017-01-12 10:20:42 +13:00
micmania1
299944fd1f FIX #394 add getDate to proxy publish date in rss template 2016-05-31 14:26:29 +12:00
micmania1
f32adf1dd3 FIX Prevent showing future blog posts before their publish date 2016-02-05 22:37:01 +00:00
Gordon Anderson
cb45815fbd FIX: Tests now pass in Postgres on 3.1 and 3.2
Problems resolved:
1) Case sensitivy of check on Code field of Group
2) MySQL and Postgres have different date functions
3) When BlogID is empty, explicitly set it to 0.  If not then all tests break under Postgres
2016-01-22 22:48:02 +07:00
Damian Mooyman
5282ad84f9 BUG Fix regression in #312 in PHP 5.3 2015-11-23 15:45:22 +13:00
helpfulrobot
f82825d9a6 Converted to PSR-2 2015-11-21 19:17:29 +13:00
Cam Findlay
d6c2593d61 ENHANCEMENT filtering for large user base sites. 2015-11-04 12:44:15 +13:00
Damian Mooyman
b9155bae79 BUG Fix canview for non-admins 2015-07-09 15:15:39 +12:00