toContain('getCurrentApplicationContainerStatus(') ->toContain('getCurrentServiceContainerStatus(') ->toContain('getCurrentDatabaseContainerStatus(') ->toContain('$this->resource instanceof Application') ->toContain('$this->resource instanceof Service'); }); it('filters application containers by coolify.applicationId', function () { $dockerHelpers = file_get_contents(__DIR__.'/../../bootstrap/helpers/docker.php'); expect($dockerHelpers)->toContain('label=coolify.applicationId='); }); it('filters service and database containers by the correct coolify labels', function () { $dockerHelpers = file_get_contents(__DIR__.'/../../bootstrap/helpers/docker.php'); expect($dockerHelpers) ->toContain('function getCurrentServiceContainerStatus') ->toContain('label=coolify.serviceId=') ->toContain('function getCurrentDatabaseContainerStatus') ->toContain('label=coolify.databaseId='); });