Re: [Semanticscuttle-devel] getBookmarks() tag problems / user session problems
Brought to you by:
cweiske
From: Mark P. <mpe...@gm...> - 2011-05-22 02:14:56
|
I knew this was going to be an issue because I remember it was working for you earlier, but not for me. I changed it and it worked for me, but stopped working for you. Looked at it again and made some final tweaks. It ended up being a two part issue - partly a timezone issue, and partly a strtodate() issue. When "today" is called, it doesn't specify time. So I changed it to "now". Additionally, the 24 hours ago plus 1 hour (which is to equal 25 hours ago) was incorrect. Needed a -1 on the hour as well. Anyway, I think we're good now. Give it a look tomorrow. And, merged with master too. :) Cheers, Mark On Sat, May 21, 2011 at 6:30 PM, Christian Weiske <cw...@cw...> wrote: > Hello Mark, > > >> Ok, I think I am finally in the game. All tests pass. I did have >> some config issues which didn't allow me to run the API tests. Want >> to take another look? > > Strangely, I do get one single failed test that I don't get in master. > Btw, please merge master into your branch. > > I'll review it today or tomorrow nontheless. > > cweiske:~/Dev/semanticscuttle/cwdev/tests> phpunit . > PHPUnit 3.5.10 by Sebastian Bergmann. > > ........F...................................................... 63 / > 212 > ( 29%) ...............S............................................... > 126 / 212 > ( 59%) ............................................................... > 189 / 212 ( 89%) ...................S... > > Time: 7 seconds, Memory: 20.50Mb > > There was 1 failure: > > 1) Bookmark2TagTest::testGetPopularTagsDays > Failed asserting that an array contains > Array > ( > [tag] => one > [bCount] => 3 > ) > . > > /home/cweiske/Dev/semanticscuttle/cwdev/tests/Bookmark2TagTest.php:293 > > FAILURES! > Tests: 212, Assertions: 944, Failures: 1, Skipped: 2. > > > -- > Regards/Mit freundlichen Grüßen > Christian Weiske > > -=≡ Geeking around in the name of science since 1982 ≡=- > > ------------------------------------------------------------------------------ > What Every C/C++ and Fortran developer Should Know! > Read this article and learn how Intel has extended the reach of its > next-generation tools to help Windows* and Linux* C/C++ and Fortran > developers boost performance applications - including clusters. > http://p.sf.net/sfu/intel-dev2devmay > _______________________________________________ > Semanticscuttle-devel mailing list > Sem...@li... > https://lists.sourceforge.net/lists/listinfo/semanticscuttle-devel > > |