feat(core): You can validate compose files with docker compose config
fix(core): labels are now accepted with both compose styles refactor: remove lots of ray's
This commit is contained in:
@@ -16,7 +16,7 @@ class LoginTest extends DuskTestCase
|
||||
*
|
||||
* @throws Throwable
|
||||
*/
|
||||
public function testLogin()
|
||||
public function test_login()
|
||||
{
|
||||
$this->browse(callback: function (Browser $browser) {
|
||||
$browser->loginWithRootUser()
|
||||
|
@@ -16,7 +16,7 @@ class ProjectAddNewTest extends DuskTestCase
|
||||
*
|
||||
* @throws Throwable
|
||||
*/
|
||||
public function testLogin()
|
||||
public function test_login()
|
||||
{
|
||||
$this->browse(function (Browser $browser) {
|
||||
$browser->loginWithRootUser()
|
||||
|
@@ -16,7 +16,7 @@ class ProjectSearchTest extends DuskTestCase
|
||||
*
|
||||
* @throws Throwable
|
||||
*/
|
||||
public function testLogin()
|
||||
public function test_login()
|
||||
{
|
||||
$this->browse(function (Browser $browser) {
|
||||
$browser->loginWithRootUser()
|
||||
|
@@ -16,7 +16,7 @@ class ProjectTest extends DuskTestCase
|
||||
*
|
||||
* @throws Throwable
|
||||
*/
|
||||
public function testLogin()
|
||||
public function test_login()
|
||||
{
|
||||
$this->browse(function (Browser $browser) {
|
||||
$browser->loginWithRootUser()
|
||||
|
@@ -358,7 +358,7 @@ use Symfony\Component\Yaml\Yaml;
|
||||
// expect($output)->toContain('Docker version');
|
||||
// });
|
||||
|
||||
// test('ConvertComposeEnvironmentToArray', function () {
|
||||
// test('convertToKeyValueCollection', function () {
|
||||
// ray()->clearAll();
|
||||
// $yaml = '
|
||||
// services:
|
||||
@@ -374,9 +374,9 @@ use Symfony\Component\Yaml\Yaml;
|
||||
// - POSTGRES_DB: activepieces
|
||||
// ';
|
||||
// $parsedYaml = Yaml::parse($yaml);
|
||||
// $output = convertComposeEnvironmentToArray($parsedYaml['services']['activepieces']['environment']);
|
||||
// $output2 = convertComposeEnvironmentToArray($parsedYaml['services']['activepieces2']['environment']);
|
||||
// $dboutput = convertComposeEnvironmentToArray($parsedYaml['services']['postgres']['environment']);
|
||||
// $output = convertToKeyValueCollection($parsedYaml['services']['activepieces']['environment']);
|
||||
// $output2 = convertToKeyValueCollection($parsedYaml['services']['activepieces2']['environment']);
|
||||
// $dboutput = convertToKeyValueCollection($parsedYaml['services']['postgres']['environment']);
|
||||
// ray($output);
|
||||
// ray($output2);
|
||||
// ray($dboutput);
|
||||
|
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Test Case
|
||||
|
Reference in New Issue
Block a user