acatcalledanarchy

acatcalledanarchy

Digital at The Potting Shed

Member Since 4 Years Ago

St Peter Port, Guernsey

Experience Points
5,075
Total
Experience

4,925 experience to go until the next level!

In case you were wondering, you earn Laracasts experience when you:

  • Complete a lesson — 100pts
  • Create a forum thread — 50pts
  • Reply to a thread — 10pts
  • Leave a reply that is liked — 50pts
  • Receive a "Best Reply" award — 500pts
Lessons Completed
197
Lessons
Completed
Best Reply Awards
0
Best Reply
Awards
  • start-engines Created with Sketch.

    Start Your Engines

    Earned once you have completed your first Laracasts lesson.

  • first-thousand Created with Sketch.

    First Thousand

    Earned once you have earned your first 1000 experience points.

  • 1-year Created with Sketch.

    One Year Member

    Earned when you have been with Laracasts for 1 year.

  • 2-years Created with Sketch.

    Two Year Member

    Earned when you have been with Laracasts for 2 years.

  • 3-years Created with Sketch.

    Three Year Member

    Earned when you have been with Laracasts for 3 years.

  • 4-years Created with Sketch.

    Four Year Member

    Earned when you have been with Laracasts for 4 years.

  • 5-years Created with Sketch.

    Five Year Member

    Earned when you have been with Laracasts for 5 years.

  • school-session Created with Sketch.

    School In Session

    Earned when at least one Laracasts series has been fully completed.

  • welcome-newcomer Created with Sketch.

    Welcome To The Community

    Earned after your first post on the Laracasts forum.

  • full-time-student Created with Sketch.

    Full Time Learner

    Earned once 100 Laracasts lessons have been completed.

  • pay-it-forward Created with Sketch.

    Pay It Forward

    Earned once you receive your first "Best Reply" award on the Laracasts forum.

  • subscriber-token Created with Sketch.

    Subscriber

    Earned if you are a paying Laracasts subscriber.

  • lifer-token Created with Sketch.

    Lifer

    Earned if you have a lifetime subscription to Laracasts.

  • lara-evanghelist Created with Sketch.

    Laracasts Evangelist

    Earned if you share a link to Laracasts on social media. Please email [email protected] with your username and post URL to be awarded this badge.

  • chatty-cathy Created with Sketch.

    Chatty Cathy

    Earned once you have achieved 500 forum replies.

  • lara-veteran Created with Sketch.

    Laracasts Veteran

    Earned once your experience points passes 100,000.

  • 10k-strong Created with Sketch.

    Ten Thousand Strong

    Earned once your experience points hits 10,000.

  • lara-master Created with Sketch.

    Laracasts Master

    Earned once 1000 Laracasts lessons have been completed.

  • laracasts-tutor Created with Sketch.

    Laracasts Tutor

    Earned once your "Best Reply" award count is 100 or more.

  • laracasts-sensei Created with Sketch.

    Laracasts Sensei

    Earned once your experience points passes 1 million.

  • top-50 Created with Sketch.

    Top 50

    Earned once your experience points ranks in the top 50 of all Laracasts users.

Level 2
5,075 XP
Aug
27
4 years ago
Aug
25
4 years ago
Activity icon

Replied to Where Are You All From?

Guernsey, Channel Islands

Aug
22
4 years ago
Activity icon

Replied to Laravel 5.2 (What Features Do We All Want?)

Gin and Tonic dispenser

Aug
14
4 years ago
Activity icon

Replied to 5.1 Phpunit Tests Fail Without Middleware

Well I'm a total comedy bellend. I was referring Auth::user() within my dashboard page, which doesn't exist when accessed without middleware!

Activity icon

Replied to 5.1 Phpunit Tests Fail Without Middleware

I'm having exactly the same issue. I'm testing the contents of my admin area. If I do the following all good:

public function testDashboardAccessWithLogin()
    {
        $this->visit('admin/login')
             ->type('name@email.com', 'email')
             ->type('password', 'password')
             ->press('Login')
             ->see('Dashboard');
    }

However, the following fails with 500 error, can anyone please advise me further?

public function testDashboardAccessWithoutMiddleware()
    {
        $this->withoutMiddleware();

        $this->visit('admin')
             ->see('Dashboard');
    }
Jul
10
4 years ago
Activity icon

Replied to Problem Executing Mix.compass() Twice.

Did you ever resolve this issue?

Jul
04
4 years ago
Jul
01
4 years ago
Activity icon

Replied to That Repository Name Is Invalid.

I case anyone else has a similar issue - I needed to set the correct permissions in GitHub to allow 3rd party access.

Activity icon

Replied to Laravel 5.1, Homestead, Grouped Resource Routes

Bumpity bump. Is anybody out there who can help?

Jun
30
4 years ago
Activity icon

Started a new conversation Laravel 5.1, Homestead, Grouped Resource Routes

Hi beautiul Laravel flavoured peoples...

I've had a hunt around and can't see anyone with quite the same issue as I'm having now that I've decided to enter the exhilarating world of testing.

I'm starting off simple.. Here's my routes:

Route::group(['prefix' => 'admin'], function() {

    Route::resource('users',  'Admin\UsersController');
]);

Here is my TestCase.php

<?php

class TestCase extends Illuminate\Foundation\Testing\TestCase
{
    /**
     * The base URL to use while testing the application.
     *
     * @var string
     */
    protected $baseUrl = 'http://homestead-url.app';

    /**
     * Creates the application.
     *
     * @return \Illuminate\Foundation\Application
     */
    public function createApplication()
    {
        $app = require __DIR__.'/../bootstrap/app.php';

        $app->make(Illuminate\Contracts\Console\Kernel::class)->bootstrap();

        return $app;
    }
}

and here are is my ExampleTest.php...

<?php

use Illuminate\Foundation\Testing\WithoutMiddleware;

class ExampleTest extends TestCase
{
    use WithoutMiddleware;

    public function test_users_index_page()
    {
        $this->visit('admin/users')
            ->seePageIs('admin/users');
    }

    public function test_user_create_page() 
    {
        $this->visit('admin/users/create')
            ->seePageIs('admin/users/create');  
    }

The test_users_index_page test passes, however the test_user_create_page fails with. Received status code [500]. However I can access the page locally.

Am I being a proper numpty or can someone give me a gentle push down the hill please?

Apr
28
4 years ago
Activity icon

Replied to That Repository Name Is Invalid.

Thanks for the response Niban, I've added my public key to both GitHub and Forge but I'm still getting the same error. I've tested my key with GitHub and I'm successfully authenticated. Scratchy head time...

Apr
27
4 years ago
Activity icon

Started a new conversation That Repository Name Is Invalid.

I'm having difficulty adding a private GitHub repository once I've provisioned server from Digital Ocean. I've tried Refreshing my GitHub token but to no avail.

Would anyone in LaraCastLand have any ideas?