Halte ungenutzte Medien bearbeitbar und lege Dateien direkt im Modul an.
Eine Fassung wird erst unveränderlich, wenn sie freigegeben und verwendet wird. Das Auge am Listeneintrag öffnet die Vorschau. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
1fb48783bf
commit
c73207f2c3
11 files changed
+547
-25
No files matched your search
@@ -164,6 +164,18 @@ public function test_g_a_new_element_version_does_not_change_a_published_composi
|
||||
$first->save();
|
||||
}
|
||||
|
||||
public function test_an_unused_ready_text_changes_without_a_new_version(): void
|
||||
{
|
||||
$content = app(ContentService::class);
|
||||
$version = $content->publishElementVersion($content->createElement('text', 'text', 'Notiz'), 'Alt');
|
||||
$updated = $content->reviseElementContent($version, 'Neu');
|
||||
|
||||
$this->assertFalse($content->isCommitted($updated));
|
||||
$this->assertSame($version->id, $updated->id);
|
||||
$this->assertSame('Neu', $updated->body);
|
||||
$this->assertSame(1, $version->element->versions()->count());
|
||||
}
|
||||
|
||||
public function test_h_a_bundle_change_does_not_change_an_activated_offer(): void
|
||||
{
|
||||
$first = $this->publishedArticle('grundlage', 'Grundlage');
|
||||
|
||||
Reference in new issue
Block a user