# |
Jun 16th 2021, 09:01 |
neon1024 |
@steinkel Thanks for the offer to open source the CakeDC SAML plugin. Now I’ve learnt a bit more about SAML and the flow, it seems a plugin would be very handy. I have created my own Authenticator, Identifier and Resolver classes, but the AuthnRequest returns a redirect url and I’m a bit lost how I can control the redirect flow from inside an Authentication Resolver |
# |
Jun 16th 2021, 08:11 |
rudy1976s |
@steinkel I will make a try , thank you |
# |
Jun 16th 2021, 08:09 |
steinkel |
you can clone the repo to another folder too and try running the tests isolated from your app |
# |
Jun 16th 2021, 08:08 |
steinkel |
plugin tests should run OK from the plugin itself |
# |
Jun 16th 2021, 08:08 |
rudy1976s |
@steinkel let me try one sec |
# |
Jun 16th 2021, 08:08 |
steinkel |
if you cd to vendor/x/Blog and run the testsuite from inside of the plugin? |
# |
Jun 16th 2021, 08:08 |
rudy1976s |
```<testsuite name="Blog"> <directory>./vendor/CMSGreen/Blog/tests/TestCase/</directory> </testsuite>``` |
# |
Jun 16th 2021, 08:07 |
rudy1976s |
I have setup the testsuite in the related section of the phpunit.xml |
# |
Jun 16th 2021, 08:07 |
rudy1976s |
the error is the following: `Referenced fixture class "Blog\Test\Fixture\PagesFixture" not found. Fixture "plugin.Blog.Pages" was referenced in test case "Blog\Test\TestCase\Model\Table\PagesTableTest".` In [/var/www/acme/vendor/cakephp/cakephp/src/TestSuite/Fixture/FixtureManager.php, line 228] |
# |
Jun 16th 2021, 08:06 |
rudy1976s |
I am running the test using the following command : phpunit --testsuite Blog ( Blog is the name of the plugin located in vendor) |
# |
Jun 16th 2021, 08:05 |
steinkel |
how are you running the tests and what's your specific error please? |
# |
Jun 16th 2021, 08:04 |
rudy1976s |
Thank you ! |
# |
Jun 16th 2021, 08:04 |
rudy1976s |
Am I forgetting something ? |
# |
Jun 16th 2021, 08:03 |
rudy1976s |
I have added the testuite block in the phpunit.xml |
# |
Jun 16th 2021, 08:02 |
rudy1976s |
and run dump autoload |
# |
Jun 16th 2021, 08:02 |
rudy1976s |
I need to run a test from a plugin located in vendor: I have created a base Table test case using the related fixture. When launching the php unit I have troubles: it seems that phpunit is unablwe to find the fixture. I have setup the fixture namespace in that plugin , as specified in the docs |
# |
Jun 16th 2021, 08:00 |
rudy1976s |
good morning all !! |
# |
Jun 14th 2021, 20:28 |
kevin.pfeifer |
und danke für den haufen an infos ^^ |
# |
Jun 14th 2021, 20:27 |
kevin.pfeifer |
ebenso :) |
# |
Jun 14th 2021, 20:27 |
kevin.pfeifer |
:+1: |
# |
Jun 14th 2021, 20:27 |
alamnaryab |
:$ |
# |
Jun 14th 2021, 20:27 |
alamnaryab |
thank you |
# |
Jun 14th 2021, 20:27 |
jh |
anyway ... ich wünsche einen guten abend := |
# |
Jun 14th 2021, 20:26 |
alamnaryab |
ok I will post again tomorrow here in chat |
# |
Jun 14th 2021, 20:26 |
jh |
https://gleam.run/book/tour/ ... kompiliert jetzt das erste mal direkt nach JS und nach Beam-VM (quasi JVM oder PHP OP Code) |
# |
Jun 14th 2021, 20:26 |
jh |
das hier ist static typed und schönes erlang: https://gleam.run/ |
# |
Jun 14th 2021, 20:25 |
jh |
schade dass es nicht static typed ist |
# |
Jun 14th 2021, 20:25 |
kevin.pfeifer |
I would have to recreate that issue with a basic template before I can help you further but don’t have time for that ^^ I guess you will need to either wait for more answers or trial/error more |
# |
Jun 14th 2021, 20:25 |
alamnaryab |
you are only one who gave me this much time? thank you |
# |
Jun 14th 2021, 20:25 |
jh |
ich lasse einfach den "cronjob" als abhängige anwendung laufen, blockiert nicht den thread da alles nur prozesse sind und nicht OO |
# |
Jun 14th 2021, 20:24 |
jh |
redis, und dies und das |
# |
Jun 14th 2021, 20:24 |
jh |
Und in dem Soul of Erlang video sieht man auch dass man bei der Erlang VM (BEAM, sowas wie JVM) ein Mini OS bekommt und für die meisten projekte nicht noch mehr tools braucht |
# |
Jun 14th 2021, 20:24 |
kevin.pfeifer |
spannend |
# |
Jun 14th 2021, 20:24 |
jh |
den rest schreibst du auf dem server und der server rendered und schickt dom diffs |
# |
Jun 14th 2021, 20:24 |
kevin.pfeifer |
no thank you ^^ I am not a fan of remote desktop software in general Its more like your issue is a bit specific as I understand it |
# |
Jun 14th 2021, 20:24 |
jh |
double click, scoll to end of page, sowas |
# |
Jun 14th 2021, 20:23 |
jh |
du brauchst JS nur für user behavior events |
# |
Jun 14th 2021, 20:23 |
jh |
daher ist elixir/phoenix auch interessant |
# |
Jun 14th 2021, 20:23 |
jh |
und ein wenig jQuery lol |
# |
Jun 14th 2021, 20:23 |
jh |
ja ist schlimm ... früher FTP, Linux, Apache, MySQL, HTML, CSS, PHP |
# |
Jun 14th 2021, 20:23 |
alamnaryab |
will it be possible if you take my anydesk for few minutes may be I am doing some obvious mistake |