beta 3 (#3780)
* merge master - allow to upload twig invoice templates via UI * support adding existing teams with same name * permissions cannot be set right after role was created - fixes #3777 * allow to deactivate unique customer number validation - fixes #3762 * invalid message when trying to edit locked or exported timesheets in calendar - fixes #3766 * updated icons and manifest - fixes #3761
This commit is contained in:
@@ -308,12 +308,6 @@ class ActivityControllerTest extends ControllerBaseTest
|
||||
self::assertStringContainsString('Only visible to the following teams and all admins.', $node->text());
|
||||
$node = $client->getCrawler()->filter('div.card#team_listing_box .card-body table tbody tr');
|
||||
self::assertEquals(1, $node->count());
|
||||
|
||||
// creating the default team a second time fails, as the name already exists
|
||||
$this->request($client, '/admin/activity/1/create_team');
|
||||
$this->assertIsRedirect($client, $this->createUrl('/admin/activity/1/details'));
|
||||
$client->followRedirect();
|
||||
$this->assertHasFlashError($client, 'Changes could not be saved: Team already existing');
|
||||
}
|
||||
|
||||
public function testDeleteAction()
|
||||
|
||||
@@ -283,12 +283,6 @@ class CustomerControllerTest extends ControllerBaseTest
|
||||
self::assertStringContainsString('Only visible to the following teams and all admins.', $node->text(null, true));
|
||||
$node = $client->getCrawler()->filter('div.card#team_listing_box .card-body table tbody tr');
|
||||
self::assertEquals(1, $node->count());
|
||||
|
||||
// creating the default team a second time fails, as the name already exists
|
||||
$this->request($client, '/admin/customer/1/create_team');
|
||||
$this->assertIsRedirect($client, $this->createUrl('/admin/customer/1/details'));
|
||||
$client->followRedirect();
|
||||
$this->assertHasFlashError($client, 'Changes could not be saved: Team already existing');
|
||||
}
|
||||
|
||||
public function testProjectsAction()
|
||||
|
||||
@@ -356,12 +356,6 @@ class ProjectControllerTest extends ControllerBaseTest
|
||||
self::assertStringContainsString('Only visible to the following teams and all admins.', $node->text(null, true));
|
||||
$node = $client->getCrawler()->filter('div.card#team_listing_box .card-body table tbody tr');
|
||||
self::assertEquals(1, $node->count());
|
||||
|
||||
// creating the default team a second time fails, as the name already exists
|
||||
$this->request($client, '/admin/project/1/create_team');
|
||||
$this->assertIsRedirect($client, $this->createUrl('/admin/project/1/details'));
|
||||
$client->followRedirect();
|
||||
$this->assertHasFlashError($client, 'Changes could not be saved: Team already existing');
|
||||
}
|
||||
|
||||
public function testActivitiesAction()
|
||||
|
||||
Reference in New Issue
Block a user