Add tests for the MetaSeo fields

This commit is contained in:
Nico Stapelbroek
2018-03-19 09:28:03 +01:00
parent 7982e474fc
commit 8d8d196aac
2 changed files with 187 additions and 3 deletions

View File

@@ -22,9 +22,9 @@ trait StoresMeta
* @param $type
* @param $id
*
* @return void
*
* @throws \Exception
*
* @return void
*/
public function storeMeta($meta, $type, $id)
{
@@ -47,7 +47,7 @@ trait StoresMeta
}
// The value is empty, remove the row
if($meta->exists) {
if ($meta->exists) {
$meta->delete();
}
}