2 Commits
3.0.x ... 2.0.x

Author SHA1 Message Date
jeremycr
6c32b5bfcc Fixed the connection proxy class created by the factory (#45) 2020-01-30 14:37:58 +01:00
jeremycr
806e5bb90f Fixed next execution for scheduled dataflows not increasing (#36) 2019-11-22 14:15:29 +01:00
4 changed files with 16 additions and 1 deletions

View File

@@ -1,3 +1,11 @@
# Version 2.0.2
* Fixed the connection proxy class created by the factory
# Version 2.0.1
* Fixed next execution time not increasing for scheduled dataflows
# Version 2.0.0
* Add Doctrine DBAL multi-connection support

View File

@@ -83,6 +83,12 @@ class ScheduledDataflowManagerTest extends TestCase
)
;
$this->scheduledDataflowRepository
->expects($this->once())
->method('save')
->with($scheduled2)
;
$this->connection
->expects($this->once())
->method('commit')

View File

@@ -67,6 +67,7 @@ class ScheduledDataflowManager implements ScheduledDataflowManagerInterface
}
$scheduled->setNext($next);
$this->scheduledDataflowRepository->save($scheduled);
}
/**

View File

@@ -61,7 +61,7 @@ services:
coderhapsodie.dataflow.connection.internal:
lazy: true
class: Doctrine\DBAL\Driver\Connection
class: Doctrine\DBAL\Connection
factory: ['@CodeRhapsodie\DataflowBundle\Factory\ConnectionFactory', 'getConnection']
CodeRhapsodie\DataflowBundle\Factory\ConnectionFactory: