Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Laravel tests documentation #30

Open
hello-i-am-pavel opened this issue Aug 13, 2023 · 1 comment
Open

Laravel tests documentation #30

hello-i-am-pavel opened this issue Aug 13, 2023 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation

Comments

@hello-i-am-pavel
Copy link

hello-i-am-pavel commented Aug 13, 2023

Hello. Can you please write a full test for laravel? Documentation examples don't work.

Also the problem is in the documentation:

https://nutgram.dev/docs/testing/introduction

    {
        // define assertions
        $this->bot->reply()
            ->assertReply('sendMessage', ['text' => 'bar'], 0); // <-----------------
            ->assertReply('sendMessage', ['text' => 'baz'], 1);
    }
@Lukasss93
Copy link
Member

Hi, you can see some examples here: https://github.com/Lukasss93/telegram-stickeroptimizer/tree/master/tests/Feature
In the coming weeks I will add more examples in the documentation.

@nutgram nutgram deleted a comment from by220 Sep 5, 2023
@Lukasss93 Lukasss93 added the documentation Improvements or additions to documentation label Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants