Skip to content
Snippets Groups Projects
Unverified Commit bbb68cb0 authored by Thomas Flori's avatar Thomas Flori
Browse files

fix fixtures for test

parent c927aa90
No related branches found
No related tags found
No related merge requests found
...@@ -25,7 +25,7 @@ class StatusTest extends TestCase ...@@ -25,7 +25,7 @@ class StatusTest extends TestCase
{ {
$migration = Migration::createInstance([ $migration = Migration::createInstance([
'file' => '@breyta/CreateMigrationTable.php', 'file' => '@breyta/CreateMigrationTable.php',
'executed' => date('Y-m-dTH:i:sZ', strtotime('-1 Hour')), 'executed' => date('Y-m-d\TH:i:s\Z', strtotime('-1 Hour')),
'status' => 'done', 'status' => 'done',
'executions' => json_encode([ 'executions' => json_encode([
[ [
...@@ -58,7 +58,7 @@ class StatusTest extends TestCase ...@@ -58,7 +58,7 @@ class StatusTest extends TestCase
{ {
$migration = Migration::createInstance([ $migration = Migration::createInstance([
'file' => '@breyta/CreateMigrationTable.php', 'file' => '@breyta/CreateMigrationTable.php',
'executed' => date('Y-m-dTH:i:sZ', strtotime('-1 Hour')), 'executed' => date('Y-m-d\TH:i:s\Z', strtotime('-1 Hour')),
'status' => 'done', 'status' => 'done',
'executions' => json_encode([ 'executions' => json_encode([
[ [
...@@ -105,7 +105,7 @@ class StatusTest extends TestCase ...@@ -105,7 +105,7 @@ class StatusTest extends TestCase
{ {
$migration = Migration::createInstance([ $migration = Migration::createInstance([
'file' => 'manually executed', 'file' => 'manually executed',
'executed' => date('Y-m-dTH:i:sZ', strtotime('-1 Hour')), 'executed' => date('Y-m-d\TH:i:s\Z', strtotime('-1 Hour')),
'status' => 'done', 'status' => 'done',
'executions' => json_encode([]), 'executions' => json_encode([]),
'executionTime' => 0.1, 'executionTime' => 0.1,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment