elefant icon indicating copy to clipboard operation
elefant copied to clipboard

Multi key support

Open techanon opened this issue 11 years ago • 2 comments

Added methods: _key_type Updated methods: __construct, get, put, remove, field TODO methods: __call, next

techanon avatar Jan 14 '15 09:01 techanon

I think both of those comments might be related (first one causing the second). Can you run those tests again with that model fix I pushed?

techanon avatar Jul 12 '15 15:07 techanon

Still getting the exact same results. Do you have PHPUnit, and can you try running the tests via phpunit.phar tests/ModelTest.php? I'm also getting an error in the ExtendedModel test too:

$ phpunit.phar tests/ExtendedModelTest.php 
PHPUnit 4.4.0 by Sebastian Bergmann.

Configuration read from /Users/lux/projects/elefant/www/phpunit.xml.dist

FSSSS

Time: 32 ms, Memory: 3.50Mb

There was 1 failure:

1) ExtendedModelTest::test_create
Failed asserting that null matches expected 1.

/Users/lux/projects/elefant/www/tests/ExtendedModelTest.php:52

FAILURES!                                        
Tests: 1, Assertions: 4, Failures: 1, Skipped: 4.

jbroadway avatar Jul 14 '15 19:07 jbroadway