<commit_before><?php

namespace Tests\Browser;

use Tests\DuskTestCase;
use Illuminate\Foundation\Testing\DatabaseMigrations;

class MicropubClientTest extends DuskTestCase
{
    /**
     * Test the client is shown for an unauthorised request.
     *
     * @return void
     */
    public function test_client_page_see_authenticated()
    {
        $this->browse(function ($browser) {
            $browser->visit('/micropub/create')
                    ->assertSee('You are authenticated');
        });
    }

    public function test_client_page_updates_syndication()
    {
        $this->browse(function ($browser) use ($note) {
            $browser->visit(route('micropub-client'))
                    ->clickLink('Refresh Syndication Targets')
                    ->assertSee('jonnybarnes');
        });
    }
}
<commit_msg>Forgot to also remove refernce to deleted variable<commit_after><?php

namespace Tests\Browser;

use Tests\DuskTestCase;
use Illuminate\Foundation\Testing\DatabaseMigrations;

class MicropubClientTest extends DuskTestCase
{
    /**
     * Test the client is shown for an unauthorised request.
     *
     * @return void
     */
    public function test_client_page_see_authenticated()
    {
        $this->browse(function ($browser) {
            $browser->visit('/micropub/create')
                    ->assertSee('You are authenticated');
        });
    }

    public function test_client_page_updates_syndication()
    {
        $this->browse(function ($browser) {
            $browser->visit(route('micropub-client'))
                    ->clickLink('Refresh Syndication Targets')
                    ->assertSee('jonnybarnes');
        });
    }
}

{'fraction_non_alphanumeric': 0.11348781937017231, 'fraction_numerical': 0.0, 'mean_word_length': 2.408906882591093, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 17, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3730383', 'n_tokens_mistral': 482, 'n_tokens_neox': 468, 'n_words': 91}