improve document model and propagate changes. This include the change of document fixtures to better reflect what the api is effectively returning
<?php
namespace CorpusParole\Models;
use Illuminate\Database\Eloquent\Model;
class CocoonRevision extends Model
{
public function document() {
return $this->belongsTo('CorpusParole\Models\CocoonDocument');
}
}