Skip to content

Commit

Permalink
Fixed static tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sivaschenko authored Nov 29, 2019
1 parent 0c35eb7 commit 50805d4
Showing 1 changed file with 2 additions and 44 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,49 +78,7 @@ protected function checkValues(array $expectedData, array $data, $model)
public function assetProvider()
{
return [
'Test case asset 1' => [
Asset::class,
null,
[
'id' => [
'value' => 1,
'method' => 'getId',
],
'path' => [
'value' => 'path',
'method' => 'getPath',
],
'title' => [
'value' => 'title',
'method' => 'getTitle',
],
'source' => [
'value' => 'source',
'method' => 'getSource',
],
'content_type' => [
'value' => 'content_type',
'method' => 'getContentType',
],
'width' => [
'value' => 1,
'method' => 'getWidth',
],
'height' => [
'value' => 2,
'method' => 'getHeight',
],
'created_at' => [
'value' => '2019-11-28 10:40:09',
'method' => 'getCreatedAt',
],
'updated_at' => [
'value' => '2019-11-28 10:41:08',
'method' => 'getUpdatedAt',
],
],
],
'Test case asset 2' => [
'Asset conversion with interface' => [
Asset::class,
AssetInterface::class,
[
Expand Down Expand Up @@ -162,7 +120,7 @@ public function assetProvider()
],
],
],
'Test case keyword 1' => [
'Keyword conversion without interface' => [
Keyword::class,
null,
[
Expand Down

0 comments on commit 50805d4

Please sign in to comment.