Skip to content

Commit

Permalink
Move test to a different file
Browse files Browse the repository at this point in the history
  • Loading branch information
antonioribeiro committed Mar 18, 2020
1 parent 0ac062a commit 961dcef
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 21 deletions.
21 changes: 0 additions & 21 deletions tests/integration/BlocksTest.php

This file was deleted.

15 changes: 15 additions & 0 deletions tests/integration/ModulesAuthorsTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -342,4 +342,19 @@ public function testCanShowEditFormInModal()

$this->assertSee('v-svg symbol="close_modal"');
}

public function testCanSeeRenderedBlocks()
{
$this->createAuthor();
$this->editAuthor();

$this->request(
"/twill/personnel/authors/{$this->author->id}/edit"
)->assertStatus(200);

// Check if it can see a rendered block
$this->assertSee(
'<script*type="text/x-template"*id="a17-block-quote">'
);
}
}

0 comments on commit 961dcef

Please sign in to comment.