Skip to content

Commit

Permalink
Disable Asset/Document/DataObject versioning by default (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdreesen authored Sep 11, 2024
1 parent b6f1849 commit 913e7b2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# Changelog

## v0.13.0
### Breaking Changes:
- Pimcore Asset/Document/DataObject versioning is now disabled by default in
`Neusta\Pimcore\TestingFramework\BootstrapPimcore::bootstrap()`

### Features:
- Provide a `WebTestCase` with configurable kernel

Expand Down
2 changes: 2 additions & 0 deletions src/BootstrapPimcore.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

use Neusta\Pimcore\TestingFramework\Pimcore\AdminMode;
use Pimcore\Bootstrap;
use Pimcore\Model\Version;

final class BootstrapPimcore
{
Expand All @@ -22,6 +23,7 @@ public static function bootstrap(string ...$envVars): void
Bootstrap::setProjectRoot();
Bootstrap::bootstrap();
AdminMode::disable();
Version::disable();
}

public static function setEnv(string $name, string $value): void
Expand Down

0 comments on commit 913e7b2

Please sign in to comment.